Skip to content

Commit 5653f6c

Browse files
edit comment
1 parent 8057cac commit 5653f6c

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/conftest.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -323,9 +323,9 @@ def _flush(*args: "Any", **kwargs: "Any") -> "Any":
323323

324324
def flush() -> None:
325325
nonlocal drained_count
326-
# Re-entrancy guard: if this `flush()`` is invoked from within an
327-
# in-progress drain (e.g. a custom transport), waiting on the background flusher
328-
# would deadlock, because the flusher is blocked inside our own handler.
326+
# Re-entrancy guard: if `flush()` is invoked from within a drain (e.g. a
327+
# custom transport), waiting on the flusher thread would deadlock, because
328+
# the flusher is blocked inside our own handler.
329329
if getattr(getattr(batcher, "_active", None), "flag", False):
330330
orig_flush()
331331
return

0 commit comments

Comments
 (0)