You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dubbo.apache.org by li...@apache.org on 2020/06/24 08:16:13 UTC

[dubbo] branch master updated: fix the priority of ListenableRouter were not effective (#6148)

This is an automated email from the ASF dual-hosted git repository.

liujun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/dubbo.git


The following commit(s) were added to refs/heads/master by this push:
     new b8b42b1  fix the priority of ListenableRouter were not effective (#6148)
b8b42b1 is described below

commit b8b42b16182b8fde245dd6c5edeb1115955d1004
Author: luoning810 <18...@163.com>
AuthorDate: Wed Jun 24 16:15:55 2020 +0800

    fix the priority of ListenableRouter were not effective (#6148)
    
    fixes #4822
---
 .../dubbo/rpc/cluster/router/condition/config/ListenableRouter.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/router/condition/config/ListenableRouter.java b/dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/router/condition/config/ListenableRouter.java
index 74dfce2..a3514c1 100644
--- a/dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/router/condition/config/ListenableRouter.java
+++ b/dubbo-cluster/src/main/java/org/apache/dubbo/rpc/cluster/router/condition/config/ListenableRouter.java
@@ -92,7 +92,7 @@ public abstract class ListenableRouter extends AbstractRouter implements Configu
 
     @Override
     public int getPriority() {
-        return DEFAULT_PRIORITY;
+        return priority;
     }
 
     @Override