Closed make3782 closed 1 year ago
https://github.com/xxl-job/xxl-job-executor-go/blob/7106a50993c89dbe228d77052202ac8556928e8e/executor.go#L310
如上,如果在执行完毕回调给注册器通知的时候,发生了网络之类的中断,这次请求没有成功,则后续再执行会报
msg:xxl-rpc remoting (url=http://10.10.57.249:9999/run) response content invalid([{"logId":7515,"logDateTim":1632794520006,"executeResult":{"code":500,"msg":"There are tasks running"},"handleCode":500,"handleMsg":"There are tasks running"}]).
请问是否这里针对执行器可以有重试的方案或者其他优化吗?
有网络中断情况,建议手动处理。
https://github.com/xxl-job/xxl-job-executor-go/blob/7106a50993c89dbe228d77052202ac8556928e8e/executor.go#L310
如上,如果在执行完毕回调给注册器通知的时候,发生了网络之类的中断,这次请求没有成功,则后续再执行会报
请问是否这里针对执行器可以有重试的方案或者其他优化吗?