eBay/parallec

Update Doc on timeout setting recommendation

jeffpeiyt opened this issue · 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