TeslaCN commented on pull request #1508:
URL: 
https://github.com/apache/shardingsphere-elasticjob/pull/1508#issuecomment-700083189


   I think we can configure timeout of AbstractDistributeOnceListener like the 
following code.
   
   ```java
   JobConfiguration jobConfiguration = JobConfiguration.newBuilder("test", 2)
       .jobListenerTypes("simpleListener", 
"distributeListener?startedTimeoutMilliseconds=1000&completedTimeoutMilliseconds=2000").build();
   ```


----------------------------------------------------------------
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:
[email protected]


Reply via email to