(self, sockets: list[socket.socket] | None = None)
| 72 | return self.config.limit_max_requests + random.randint(0, self.config.limit_max_requests_jitter) |
| 73 | |
| 74 | def run(self, sockets: list[socket.socket] | None = None) -> None: |
| 75 | return asyncio_run(self.serve(sockets=sockets), loop_factory=self.config.get_loop_factory()) |
| 76 | |
| 77 | async def serve(self, sockets: list[socket.socket] | None = None) -> None: |
| 78 | with self.capture_signals(): |