From d19ed65ee2a9da759069a4accf54966b0587f6ac Mon Sep 17 00:00:00 2001 From: "wang.yubin" <359474377@qq.com> Date: Thu, 4 May 2023 15:00:48 +0800 Subject: [PATCH] fix: fix inappropriate invoke in unsubscribe retry task --- .../org/apache/dubbo/registry/retry/FailedUnsubscribedTask.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/retry/FailedUnsubscribedTask.java b/dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/retry/FailedUnsubscribedTask.java index 6814583df27..4b873f71b80 100644 --- a/dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/retry/FailedUnsubscribedTask.java +++ b/dubbo-registry/dubbo-registry-api/src/main/java/org/apache/dubbo/registry/retry/FailedUnsubscribedTask.java @@ -41,7 +41,7 @@ public FailedUnsubscribedTask(URL url, FailbackRegistry registry, NotifyListener @Override protected void doRetry(URL url, FailbackRegistry registry, Timeout timeout) { - registry.unsubscribe(url, listener); + registry.doUnsubscribe(url, listener); registry.removeFailedUnsubscribedTask(url, listener); } }