Commit 23d5e5e2 authored by Jelte Jansen's avatar Jelte Jansen

removed unnecessary sleep() from ccsession.cc, added note for bob to implement...

removed unnecessary sleep() from ccsession.cc, added note for bob to implement 'i have started' messages for modules


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1582 e5f2f494-b856-4b98-b285-d166d9295462
parent 1e6475e4
......@@ -255,6 +255,8 @@ class BoB:
# 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")
......
......@@ -235,16 +235,11 @@ ModuleCCSession::init(
{
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;
session_.establish();
......
Markdown is supported
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