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
The implementation of Client.waiters is a defaultdict(set), each waiter will only be poped out from the set when it completes, while the underlying set will still occupy memory. Similarly, within the _listener task, after a frame is read, defaultdict creates a set internally when calling waiters[key] with the key not in waiters, which is useless but has not been cleaned up.
The text was updated successfully, but these errors were encountered:
The implementation of Client.waiters is a
defaultdict(set)
, each waiter will only be poped out from theset
when it completes, while the underlying set will still occupy memory. Similarly, within the_listener
task, after a frame is read,defaultdict
creates aset
internally when callingwaiters[key]
with the key not in waiters, which is useless but has not been cleaned up.The text was updated successfully, but these errors were encountered: