mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
Revert "Exit async keepalive request loop when self.alive is False"
This commit is contained in:
parent
bf14a0f419
commit
8c5613b1ad
@ -42,7 +42,7 @@ class AsyncWorker(base.Worker):
|
|||||||
else:
|
else:
|
||||||
# keepalive loop
|
# keepalive loop
|
||||||
proxy_protocol_info = {}
|
proxy_protocol_info = {}
|
||||||
while self.alive:
|
while True:
|
||||||
req = None
|
req = None
|
||||||
with self.timeout_ctx():
|
with self.timeout_ctx():
|
||||||
req = next(parser)
|
req = next(parser)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user