[
https://issues.apache.org/jira/browse/DISPATCH-557?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15745875#comment-15745875
]
ASF GitHub Bot commented on DISPATCH-557:
-----------------------------------------
Github user ted-ross commented on a diff in the pull request:
https://github.com/apache/qpid-dispatch/pull/125#discussion_r92235068
--- Diff: src/router_core/connections.c ---
@@ -107,6 +130,61 @@ void qdr_connection_set_context(qdr_connection_t
*conn, void *context)
conn->user_context = context;
}
+qdr_connection_info_t *qdr_connection_info(bool is_encrypted,
+ bool
is_authenticated,
+ bool opened,
+ char
*sasl_mechanisms,
+ const char *dir,
--- End diff --
There is an enumerated type for direction. You should use this rather than
passing strings around.
> High connection rates cause problems in the Python management agent
> -------------------------------------------------------------------
>
> Key: DISPATCH-557
> URL: https://issues.apache.org/jira/browse/DISPATCH-557
> Project: Qpid Dispatch
> Issue Type: Bug
> Components: Management Agent
> Affects Versions: 0.7.0
> Reporter: Ted Ross
> Assignee: Ganesh Murthy
> Priority: Critical
> Fix For: 0.8.0
>
>
> Since connection entities are the only non-configuration (spontaneously
> occurring) entities that are still managed by the Python agent, high rates of
> opening and closing connections causes large CPU overhead in the agent.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]