qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tr...@apache.org
Subject [1/2] qpid-dispatch git commit: DISPATCH-338 - Default treatment for addresses is "balanced".
Date Tue, 17 May 2016 20:55:12 GMT
Repository: qpid-dispatch
Updated Branches:
  refs/heads/master bab8a2b8c -> e590e9ed9


DISPATCH-338 - Default treatment for addresses is "balanced".


Project: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/commit/e9459c17
Tree: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/tree/e9459c17
Diff: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/diff/e9459c17

Branch: refs/heads/master
Commit: e9459c1765f178e251e929a011ebc2f224d3d1b0
Parents: bab8a2b
Author: Ted Ross <tross@redhat.com>
Authored: Tue May 17 13:49:18 2016 -0400
Committer: Ted Ross <tross@redhat.com>
Committed: Tue May 17 13:49:18 2016 -0400

----------------------------------------------------------------------
 src/router_core/connections.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/e9459c17/src/router_core/connections.c
----------------------------------------------------------------------
diff --git a/src/router_core/connections.c b/src/router_core/connections.c
index 229a49b..90dd778 100644
--- a/src/router_core/connections.c
+++ b/src/router_core/connections.c
@@ -638,7 +638,7 @@ qd_address_treatment_t qdr_treatment_for_address_CT(qdr_core_t *core,
qd_field_i
     if (in_phase)  *in_phase  = addr ? addr->in_phase  : 0;
     if (out_phase) *out_phase = addr ? addr->out_phase : 0;
 
-    return addr ? addr->treatment : QD_TREATMENT_ANYCAST_CLOSEST;
+    return addr ? addr->treatment : QD_TREATMENT_ANYCAST_BALANCED;
 }
 
 
@@ -649,7 +649,7 @@ qd_address_treatment_t qdr_treatment_for_address_hash_CT(qdr_core_t *core,
qd_fi
     char *copy    = storage;
     bool  on_heap = false;
     int   length  = qd_field_iterator_length(iter);
-    qd_address_treatment_t trt = QD_TREATMENT_ANYCAST_CLOSEST;
+    qd_address_treatment_t trt = QD_TREATMENT_ANYCAST_BALANCED;
 
     if (length > HASH_STORAGE_SIZE) {
         copy    = (char*) malloc(length + 1);


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message