From 40e6590448290f5b60e93eadecf83278eba553cc Mon Sep 17 00:00:00 2001 From: pedoc Date: Tue, 11 Feb 2025 17:19:48 +0800 Subject: [PATCH] Fix #325 --- src/Nacos/V2/Config/Impl/ConfigHttpTransportClient.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Nacos/V2/Config/Impl/ConfigHttpTransportClient.cs b/src/Nacos/V2/Config/Impl/ConfigHttpTransportClient.cs index 3629c5ee..549b3004 100644 --- a/src/Nacos/V2/Config/Impl/ConfigHttpTransportClient.cs +++ b/src/Nacos/V2/Config/Impl/ConfigHttpTransportClient.cs @@ -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) {