MCPcopy Create free account
hub / github.com/eshirazi/python-with-braces / serve_forever

Method serve_forever

Lib/SocketServer.py:221–241  ·  view source on GitHub ↗

Handle one request at a time until shutdown. Polls for shutdown every poll_interval seconds. Ignores self.timeout. If you need to do periodic tasks, do them in another thread.

(self, poll_interval=0.5)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 4

serve_foreverFunction · 0.45
testFunction · 0.45
serve.pyFile · 0.45

Calls 4

_eintr_retryFunction · 0.85
clearMethod · 0.45
setMethod · 0.45

Tested by

no test coverage detected