add SIGINT in workers

This commit is contained in:
clowwindy 2014-12-22 17:29:58 +08:00
parent 536b7d1ee6
commit be1d1d5032

View file

@ -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: