Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
pedoc committed Feb 11, 2025
1 parent 7afd0d2 commit 40e6590
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Nacos/V2/Config/Impl/ConfigHttpTransportClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,7 @@ private Timer LongPolling(int taskId)

inInitializingCacheList.Clear();

if (_longPollingMap.TryGetValue(selfTaskId, out var t)) t.Change(1, Timeout.Infinite);
if (_longPollingMap.TryGetValue(selfTaskId, out var t)) t.Change(Math.Max(1, _options.ListenInterval), Timeout.Infinite);
}
catch (Exception ex)
{
Expand Down

0 comments on commit 40e6590

Please sign in to comment.