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
Now that we have a queue to hold indications before being passed to the callbacks, the listener can overload thwat queue if indications are received at a rate faster than the callback function can process them. There should be the capability to set a maximum limit on the number of indications in the queue and either slow down acceptance or stop receiving indications.
The Python queue facility supports a Full concept for a queue so the question is exactly what should the listener do if the queue is full.
The text was updated successfully, but these errors were encountered:
I suggest to not enable the limit by default, but to give the user an option to opt in for the limit, because enabling the limit also means the user needs to be prepared for the exception.
Now that we have a queue to hold indications before being passed to the callbacks, the listener can overload thwat queue if indications are received at a rate faster than the callback function can process them. There should be the capability to set a maximum limit on the number of indications in the queue and either slow down acceptance or stop receiving indications.
The Python queue facility supports a Full concept for a queue so the question is exactly what should the listener do if the queue is full.
The text was updated successfully, but these errors were encountered: