parallec icon indicating copy to clipboard operation
parallec copied to clipboard

Update Doc on timeout setting recommendation

Open jeffpeiyt opened this issue 7 years ago • 0 comments

Update Doc:

set the connection timeout < request timeout < worker timeout. Then the async client timeout will kick in first before the actor timeout.


   ParallecGlobalConfig.ningFastClientConnectionTimeoutMillis = 4000;
   ParallecGlobalConfig.ningFastClientRequestTimeoutMillis = 13000;

    ParallelTaskConfig config = new ParallelTaskConfig();
    config.setActorMaxOperationTimeoutSec(15);

Issue: get responses logs from [AsyncHttpClient-Callback] DEBUG c.n.h.c.p.jdk.JDKAsyncHttpProvider even after ParallecTask is done

jeffpeiyt avatar Oct 28 '16 17:10 jeffpeiyt