You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
decrease when a 'connect' starts or a connection is received
increase wheneve a connection is closed (including connect failures)
In the initial PR, the available count increase/decrease is sprinkled all over making it hard to track. Some more unified and provable correct tracking would be better.
Proposed Solution
Use some form of RAII to increase/decrease the counter. Counters are very tied to active connections, however the fact that we queue 'pending messages' makes things slightly more complex.
The text was updated successfully, but these errors were encountered:
Issue-Label Bot is automatically applying the label feature_request to this issue, with a confidence of 0.71. Please mark this comment with 👍 or 👎 to give our bot feedback!
Problem
We expect available connections to:
In the initial PR, the available count increase/decrease is sprinkled all over making it hard to track. Some more unified and provable correct tracking would be better.
Proposed Solution
Use some form of RAII to increase/decrease the counter. Counters are very tied to active connections, however the fact that we queue 'pending messages' makes things slightly more complex.
The text was updated successfully, but these errors were encountered: