bitkeeper revision 1.1159.265.1 (42305f54c1QGh-jqx__ZfFdzrPJWDA)

Make xend parent sleep a bit at start, so when it returns
xend is running.

Signed-off-by: Mike Wray <mike.wray@hp.com>
This commit is contained in:
mjw@wray-m-3.hpl.hp.com committed 2005-03-10 14:53:08 +00:00
1 parent 06f98ccd35
commit 59f0cea86a
1 file changed
+3 -2
+3 -2
View File
@@ -15,6 +15,7 @@ import pwd
import re
import StringIO
import traceback
import time
from twisted.internet import pollreactor
pollreactor.install()
@@ -516,8 +517,8 @@ class Daemon:
self.install_child_reaper()
if self.fork_pid(XEND_PID_FILE):
#Parent
pass
#Parent. Sleep to give child time to start.
time.sleep(1)
else:
# Child
self.tracing(trace)
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.