Skip to content

Commit

Permalink
修复客户端与服务端连接断开重连后第一次超时问题.
Browse files Browse the repository at this point in the history
  • Loading branch information
magestacks committed Dec 8, 2021
1 parent d382802 commit 384c67d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ public void addLongPollingClient(HttpServletRequest req, HttpServletResponse rsp
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 {
Expand Down

0 comments on commit 384c67d

Please sign in to comment.