Logan icon indicating copy to clipboard operation
Logan copied to clipboard

快速批量上传为啥要sleep(5),有优化方法吗

Open wuhongsheng opened this issue 3 years ago • 5 comments

wuhongsheng avatar Aug 19 '21 08:08 wuhongsheng

demo里这个是比较粗暴的测试,真实情况下应该不存在这样的场景

Richard-Cao avatar Aug 20 '21 03:08 Richard-Cao

demo 实际使用for循环测试,不sleep 确实会丢啊

wuhongsheng avatar Aug 20 '21 05:08 wuhongsheng

demo 实际使用for循环测试,不sleep 确实会丢啊

这种方式太粗暴了,真实应用场景不会这样

Richard-Cao avatar Aug 20 '21 07:08 Richard-Cao

请问有批量上传的计划吗? 比如上传最近3天的日志。因为发生问题,开发接收到反馈往往不是当天。期望有开放上传过去N天的接口

kidGuo avatar Jan 09 '23 08:01 kidGuo

请问有批量上传的计划吗? 比如上传最近3天的日志。因为发生问题,开发接收到反馈往往不是当天。期望有开放上传过去N天的接口

目前的办法是不是可以串行一天一天上传

Richard-Cao avatar Jan 11 '23 02:01 Richard-Cao