mirror of
https://github.com/frappe/gunicorn.git
synced 2026-01-14 11:09:11 +08:00
only handle signals we need. fix issue spotted by @jbergstroem
This commit is contained in:
parent
ad35646ad2
commit
3ba5df758e
@ -22,7 +22,7 @@ class Worker(object):
|
|||||||
|
|
||||||
SIGNALS = map(
|
SIGNALS = map(
|
||||||
lambda x: getattr(signal, "SIG%s" % x),
|
lambda x: getattr(signal, "SIG%s" % x),
|
||||||
"CHLD HUP QUIT INT TERM TTIN TTOU USR1 USR2 WINCH".split()
|
"QUIT INT TERM USR1".split()
|
||||||
)
|
)
|
||||||
|
|
||||||
PIPE = []
|
PIPE = []
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user