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

Method _cancel_keepalive_timer

gunicorn/asgi/protocol.py:662–666  ·  view source on GitHub ↗

Cancel keepalive timer when new request arrives.

(self)

Source from the content-addressed store, hash-verified

660 )
661
662 def _cancel_keepalive_timer(self):
663 """Cancel keepalive timer when new request arrives."""
664 if self._keepalive_handle:
665 self._keepalive_handle.cancel()
666 self._keepalive_handle = None
667
668 def _keepalive_timeout(self):
669 """Called when keepalive timeout expires."""

Callers 3

connection_lostMethod · 0.95
_handle_connectionMethod · 0.95

Calls

no outgoing calls