kgiusti commented on a change in pull request #605: DISPATCH-1409 - Exposed 
available-credit and time-of-zero-credit as l…
URL: https://github.com/apache/qpid-dispatch/pull/605#discussion_r340841820
 
 

 ##########
 File path: src/router_core/transfer.c
 ##########
 @@ -262,6 +262,7 @@ void qdr_link_flow(qdr_core_t *core, qdr_link_t *link, int 
credit, bool drain_mo
     action->args.connection.drain  = drain_mode;
 
     qdr_action_enqueue(core, action);
+    qdr_record_link_credit(core, link);
 
 Review comment:
   Curious - why after the action is enqueued, not before?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to