Commit a46e52a0 authored by Likun Zhang's avatar Likun Zhang
Browse files

Change the sleep time(the time between sending shutdown command to other...

Change the sleep time(the time between sending shutdown command to other processes and reap these processes) of boss process from 0.5 to 1 second, so that it can make sure other processes can exit automatically when user enter ctrl+c command.

git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac335@3050 e5f2f494-b856-4b98-b285-d166d9295462
parent 4ae2cbc0
......@@ -471,7 +471,7 @@ class BoB:
except:
pass
# XXX: some delay probably useful... how much is uncertain
time.sleep(0.5)
time.sleep(1)
self.reap_children()
# next try sending a SIGTERM
processes_to_stop = list(self.processes.values())
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment