[svn] commit: r1582 - in /trunk/src: bin/bind10/bind10.py.in lib/config/ccsession.cc
BIND 10 source code commits
bind10-changes at lists.isc.org
Fri Mar 19 12:35:36 UTC 2010
Author: jelte
Date: Fri Mar 19 12:35:36 2010
New Revision: 1582
Log:
removed unnecessary sleep() from ccsession.cc, added note for bob to implement 'i have started' messages for modules
Modified:
trunk/src/bin/bind10/bind10.py.in
trunk/src/lib/config/ccsession.cc
Modified: trunk/src/bin/bind10/bind10.py.in
==============================================================================
--- trunk/src/bin/bind10/bind10.py.in (original)
+++ trunk/src/bin/bind10/bind10.py.in Fri Mar 19 12:35:36 2010
@@ -255,6 +255,8 @@
# by this one
# sleep until b10-cfgmgr is fully up and running, this is a good place
# to have a (short) timeout on synchronized groupsend/receive
+ # TODO: replace the sleep by a listen for ConfigManager started
+ # message
time.sleep(1)
if self.verbose:
print("[XX] starting ccsession")
Modified: trunk/src/lib/config/ccsession.cc
==============================================================================
--- trunk/src/lib/config/ccsession.cc (original)
+++ trunk/src/lib/config/ccsession.cc Fri Mar 19 12:35:36 2010
@@ -235,15 +235,10 @@
{
module_specification_ = readModuleSpecification(spec_file_name);
setModuleSpec(module_specification_);
- sleep(1);
module_name_ = module_specification_.getFullSpec()->get("module_name")->stringValue();
config_handler_ = config_handler;
command_handler_ = command_handler;
-
- // todo: workaround, let boss wait until msgq is started
- // and remove sleep here
- sleep(1);
ElementPtr answer, env;
More information about the bind10-changes
mailing list