You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2020/07/29 07:44:57 UTC

[GitHub] [shardingsphere-elasticjob] readazusa commented on issue #1288: The frequency of program execution is not in accordance with the regulations

readazusa commented on issue #1288:
URL: https://github.com/apache/shardingsphere-elasticjob/issues/1288#issuecomment-665468715


   I have set overwrite=true
   `new ScheduleJobBootstrap(regCenter, new JavaSimpleJob(), JobConfiguration.newBuilder("javaSimpleJob", 3)
   .cron("0/2 * * * * ?").overwrite(true).shardingItemParameters("0=Beijing,1=Shanghai,2=Guangzhou").build(),
   tracingConfig).schedule();`
   
   
   I found the code `   JobExecutionEvent jobExecutionEvent = new JobExecutionEvent(IpUtils.getHostName(), IpUtils.getIp(), shardingContexts.getTaskId(), jobConfig.getJobName(), executionSource, item);
   `
   Stay for 5 seconds at a time, but I don't found code sleep.
   I want to know where this sentence code sleep is realized, can you help me
   
   
   
   
   
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org