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

Method _heartbeat_loop

gunicorn/dirty/worker.py:282–286  ·  view source on GitHub ↗

Periodically update heartbeat.

(self)

Source from the content-addressed store, hash-verified

280 pass
281
282 async def _heartbeat_loop(self):
283 """Periodically update heartbeat."""
284 while self.alive:
285 self.notify()
286 await asyncio.sleep(self.cfg.dirty_timeout / 2.0)
287
288 async def handle_connection(self, reader, writer):
289 """

Callers 1

_run_asyncMethod · 0.95

Calls 1

notifyMethod · 0.95

Tested by

no test coverage detected