10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4040126 commit dc124b3Copy full SHA for dc124b3
providers/grizzly/src/main/java/com/ning/http/client/providers/grizzly/GrizzlyAsyncHttpProvider.java
@@ -320,6 +320,9 @@ protected void initializeTransport(final AsyncHttpClientConfig clientConfig) {
320
int delay = 500;
321
if (timeout < delay) {
322
delay = timeout - 10;
323
+ if (delay <= 0) {
324
+ delay = timeout;
325
+ }
326
}
327
timeoutExecutor = IdleTimeoutFilter.createDefaultIdleDelayedExecutor(delay, TimeUnit.MILLISECONDS);
328
timeoutExecutor.start();
0 commit comments