[svn] commit: r3050 - /branches/trac335/src/bin/bind10/bind10.py.in

BIND 10 source code commits bind10-changes at lists.isc.org
Tue Sep 28 08:01:16 UTC 2010


Author: zhanglikun
Date: Tue Sep 28 08:01:16 2010
New Revision: 3050

Log:
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.

Modified:
    branches/trac335/src/bin/bind10/bind10.py.in

Modified: branches/trac335/src/bin/bind10/bind10.py.in
==============================================================================
--- branches/trac335/src/bin/bind10/bind10.py.in (original)
+++ branches/trac335/src/bin/bind10/bind10.py.in Tue Sep 28 08:01:16 2010
@@ -471,7 +471,7 @@
         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())




More information about the bind10-changes mailing list