shardingsphere-elasticjob icon indicating copy to clipboard operation
shardingsphere-elasticjob copied to clipboard

Job execution is delayed?

Open xiebin2015 opened this issue 2 years ago • 5 comments

Hi found a certain delay in job triggering during the test. Is this a normal problem?

xiebin2015 avatar Aug 17 '21 02:08 xiebin2015

Hi, @xiebin2015

Could you provide more information about it?

sunkai-cai avatar Aug 17 '21 05:08 sunkai-cai

image Hi, this is the log printed by my test. My task is to execute it every 5S. From the log, we can see that there are some differences in the execution time interval

xiebin2015 avatar Aug 17 '21 06:08 xiebin2015

Hi, the red box in the figure shows the start time of each job execution. By comparing each time, we can see that there is a difference between each execution and the set execution time every 5 seconds

xiebin2015 avatar Aug 17 '21 07:08 xiebin2015

@xiebin2015 Could you show me your listeners?

TeslaCN avatar Aug 17 '21 09:08 TeslaCN

OK, please see the screenshot of my code as follows. image image

xiebin2015 avatar Aug 18 '21 00:08 xiebin2015