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
{{ message }}
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
#10017 introduced a
BatchingQueue
implementation. While reviewing #10035 I noticed a few oddities that could do with cleaning up:__init__
could do with docstrings, especiallyname
- what is it used for?synapse_util_batching_queue_number_queued
etc) don't appear to include thename
label in their result._process_queue
starts, then_process_queue
immediately returns (https://github.com/matrix-org/synapse/blob/v1.35.0rc1/synapse/util/batching_queue.py#L118-L119). However, it will pass through thefinally
block which will remove the key fromself._processing_keys
. This looks incorrect to me.PreserveLoggingContext
isn't free. consider moving it outside the loops?The text was updated successfully, but these errors were encountered: