add SIGINT in workers
This commit is contained in:
parent
536b7d1ee6
commit
be1d1d5032
1 changed files with 1 additions and 0 deletions
|
@ -118,6 +118,7 @@ def main():
|
|||
sys.exit()
|
||||
signal.signal(signal.SIGTERM, handler)
|
||||
signal.signal(signal.SIGQUIT, handler)
|
||||
signal.signal(signal.SIGINT, handler)
|
||||
|
||||
# master
|
||||
for a_tcp_server in tcp_servers:
|
||||
|
|
Loading…
Reference in a new issue