MCPcopy
hub / github.com/benoitc/gunicorn / pause_writing

Method pause_writing

gunicorn/asgi/protocol.py:720–723  ·  view source on GitHub ↗

Called by transport when write buffer exceeds high water mark.

(self)

Source from the content-addressed store, hash-verified

718 self._task.cancel()
719
720 def pause_writing(self):
721 """Called by transport when write buffer exceeds high water mark."""
722 if self._flow_control:
723 self._flow_control.pause_writing()
724
725 def resume_writing(self):
726 """Called by transport when write buffer drains below low water mark."""

Callers

nothing calls this directly

Calls 1

pause_writingMethod · 0.45

Tested by

no test coverage detected