Github user ted-ross commented on a diff in the pull request:

    https://github.com/apache/qpid-dispatch/pull/384#discussion_r220714152
  
    --- Diff: src/router_core/connections.c ---
    @@ -1466,8 +1470,8 @@ static void qdr_attach_link_data_CT(qdr_core_t *core, 
qdr_connection_t *conn, qd
             // are assigned priorities in the order in which they are attached.
             int next_slot = core->data_links_by_mask_bit[conn->mask_bit].count 
++;
             if (next_slot >= QDR_N_PRIORITIES) {
    -            qd_log(core->log, QD_LOG_ERROR, "Attempt to attach too many 
inter-router links for priority sheaf.");
    -            return;
    +            qd_log(core->log, QD_LOG_CRITICAL, "Attempt to attach too many 
inter-router links for priority sheaf.");
    +            exit(1);
    --- End diff --
    
    Exiting the process here is a bit heavy handed.  I think it's sufficient to 
log the critical error.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to