Re: Proton Python on_sendable behavior

2016-10-20 Thread Alan Conway
On Tue, 2016-10-18 at 14:13 -0700, Justin Ross wrote: > https://gist.github.com/ssorj/1ccf4d1499563722bc419f1e1fac11bf > > In this example, there is still ample credit on the link after the > last > on_sendable() is printed, but on_sendable is never fired again.  Is > that > expected behavior? >

Re: Proton Python on_sendable behavior

2016-10-19 Thread Robbie Gemmell
On 18 October 2016 at 22:13, Justin Ross wrote: > https://gist.github.com/ssorj/1ccf4d1499563722bc419f1e1fac11bf > > In this example, there is still ample credit on the link after the last > on_sendable() is printed, but on_sendable is never fired again. Is that > expected behavior? > > It appear

Re: Proton Python on_sendable behavior

2016-10-18 Thread Chuck Rolke
- Original Message - > From: "Justin Ross" > To: users@qpid.apache.org > Sent: Tuesday, October 18, 2016 5:13:27 PM > Subject: Proton Python on_sendable behavior > > https://gist.github.com/ssorj/1ccf4d1499563722bc419f1e1fac11bf > > In this example,

Proton Python on_sendable behavior

2016-10-18 Thread Justin Ross
https://gist.github.com/ssorj/1ccf4d1499563722bc419f1e1fac11bf In this example, there is still ample credit on the link after the last on_sendable() is printed, but on_sendable is never fired again. Is that expected behavior? It appears that on_link_flow is only fired when link credit is updated