You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by tr...@apache.org on 2016/04/14 17:00:42 UTC

qpid-dispatch git commit: DISPATCH-277 - Improved defaults for link-capacity and max-frame-size.

Repository: qpid-dispatch
Updated Branches:
  refs/heads/master d8afd516a -> 768149d53


DISPATCH-277 - Improved defaults for link-capacity and max-frame-size.


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

Branch: refs/heads/master
Commit: 768149d53fdef9e8f8a210a9b467273c63479124
Parents: d8afd51
Author: Ted Ross <tr...@redhat.com>
Authored: Thu Apr 14 11:00:07 2016 -0400
Committer: Ted Ross <tr...@redhat.com>
Committed: Thu Apr 14 11:00:07 2016 -0400

----------------------------------------------------------------------
 python/qpid_dispatch/management/qdrouter.json | 4 ++--
 src/connection_manager.c                      | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/768149d5/python/qpid_dispatch/management/qdrouter.json
----------------------------------------------------------------------
diff --git a/python/qpid_dispatch/management/qdrouter.json b/python/qpid_dispatch/management/qdrouter.json
index 6812eba..1ebfab0 100644
--- a/python/qpid_dispatch/management/qdrouter.json
+++ b/python/qpid_dispatch/management/qdrouter.json
@@ -626,8 +626,8 @@
                 },
                 "maxFrameSize": {
                     "type": "integer",
-                    "default": 65536,
-                    "description": "Defaults to 65536.  If specified, it is the maximum frame size in octets that will be used in the connection-open negotiation with a connected peer.  The frame size is the largest contiguous set of uninterrupted data that can be sent for a message delivery over the connection. Interleaving of messages on different links is done at frame granularity.",
+                    "default": 16384,
+                    "description": "Defaults to 16384.  If specified, it is the maximum frame size in octets that will be used in the connection-open negotiation with a connected peer.  The frame size is the largest contiguous set of uninterrupted data that can be sent for a message delivery over the connection. Interleaving of messages on different links is done at frame granularity.",
                     "create": true
                 },
                 "idleTimeoutSeconds": {

http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/768149d5/src/connection_manager.c
----------------------------------------------------------------------
diff --git a/src/connection_manager.c b/src/connection_manager.c
index 19d4b2e..ede3838 100644
--- a/src/connection_manager.c
+++ b/src/connection_manager.c
@@ -159,7 +159,7 @@ static qd_error_t load_server_config(qd_dispatch_t *qd, qd_server_config_t *conf
         if (strcmp("inter-router", config->role) == 0)
             config->link_capacity = 100000; // This is effectively infinite since session flow control will be more stringent.
         else
-            config->link_capacity = 10;
+            config->link_capacity = 250;
     }
 
     //


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