Skip to content
This repository was archived by the owner on Mar 22, 2018. It is now read-only.

Commit b6d7250

Browse files
committed
Fixed stop all servers (gevent worker).
1 parent a33211b commit b6d7250

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gunicorn/workers/ggevent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def run(self):
110110

111111
# Force kill all active the handlers
112112
self.log.warning("Worker graceful timeout (pid:%s)" % self.pid)
113-
server.stop(timeout=1)
113+
[server.stop(timeout=1) for server in servers]
114114
except:
115115
pass
116116

0 commit comments

Comments
 (0)