Server.serve_forever

Server.serve_forever(poll_interval=0.5)[source]

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.