修复客户端与服务端连接断开重连后第一次超时问题.

pull/28/head
chen.ma 3 years ago
parent d3828028bd
commit 384c67dbe2

@ -164,7 +164,7 @@ public class LongPollingService {
final AsyncContext asyncContext = req.startAsync();
asyncContext.setTimeout(0L);
ConfigExecutor.executeLongPolling(new ClientLongPolling(asyncContext, clientMd5Map, ip, probeRequestSize, timeout, appName));
ConfigExecutor.executeLongPolling(new ClientLongPolling(asyncContext, clientMd5Map, ip, probeRequestSize, timeout - delayTime, appName));
}
class ClientLongPolling implements Runnable {

Loading…
Cancel
Save