Browse Source

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
Likun Zhang 14 years ago
parent
commit
a46e52a0de
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/bin/bind10/bind10.py.in

+ 1 - 1
src/bin/bind10/bind10.py.in

@@ -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())