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/09/28 15:27:26 UTC

[GitHub] [shardingsphere-elasticjob] TeslaCN commented on pull request #1508: Distinguish guarantee service by job name in singleton AbstractDistributeOnceElasticJobListener

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:
users@infra.apache.org