stan.java
stan.java copied to clipboard
inflight counting fixes
Proposed fixes for issue #79
Coverage decreased (-1.6%) to 91.324% when pulling 6dc800179b0de5facdc338c3c7b4e8e107a464b7 on mctully:lkwd_dev into 718bc8811439bb19fc9849f95faa0068acbd30b3 on nats-io:master.
The code has chance significantly apparently, how would you like to proceed on this change?
Sorry, I haven’t yet looked at the new client lib release. When we move to the new library I will re-test for the original issue. If it still occurs then I’ll see whether I can update this patch. Thanks!
FWIW, I’ve just looked over the sources on master and I don’t think the areas I patched have changed significantly. I can see that publish()
will still block indefinitely if max acks is hit, so I assume the original issue is still possible if you get in a state where acks are not popped.