[ISSUE #11880]Fixed the issue of duplicate notifications of configuration changes. (#11881)

This commit is contained in:
阿魁 2024-03-26 17:16:56 +08:00 committed by GitHub
parent ec4f21540e
commit 3a1f0c297e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -693,7 +693,8 @@ public class ClientWorker implements Closeable {
*/ */
rpcClientInner.registerServerRequestHandler((request, connection) -> { rpcClientInner.registerServerRequestHandler((request, connection) -> {
if (request instanceof ConfigChangeNotifyRequest) { if (request instanceof ConfigChangeNotifyRequest) {
handleConfigChangeNotifyRequest((ConfigChangeNotifyRequest) request, rpcClientInner.getName()); return handleConfigChangeNotifyRequest((ConfigChangeNotifyRequest) request,
rpcClientInner.getName());
} }
return null; return null;
}); });