eBay / parallec

Fast Parallel Async HTTP/SSH/TCP/UDP/Ping Client Java Library. Aggregate 100,000 APIs & send anywhere in 20 lines of code. Ping/HTTP Calls 8000 servers in 12 seconds. (Akka) www.parallec.io
Apache License 2.0
805 stars 173 forks source link

Enhance docs on set manager timeout #38

Closed jeffpeiyt closed 8 years ago

jeffpeiyt commented 8 years ago

The default parallel task timeout may be low. Need to set both the In manager and ask manager timeout for very long jobs.


public ParallelTaskConfig genParallelTaskConfig() {
ParallelTaskConfig config = new ParallelTaskConfig();
    config.setActorMaxOperationTimeoutSec(35);
    //15min
    config.setTimeoutInManagerSec(900);
    config.setTimeoutAskManagerSec(910);
returnconfig;
}
jeffpeiyt commented 8 years ago

Updated doc at : http://www.parallec.io/docs/configurations/#long-running-jobs