More work in progress in new multicast propagation...
This commit is contained in:
parent
f3128a18fe
commit
24bad9f3d1
9 changed files with 226 additions and 162 deletions
|
@ -210,7 +210,7 @@ struct _NodeImpl
|
|||
delete renv.topology;
|
||||
delete renv.demarc;
|
||||
delete renv.sw;
|
||||
delete renv.multicaster;
|
||||
delete renv.mc;
|
||||
delete renv.prng;
|
||||
delete renv.log;
|
||||
|
||||
|
@ -372,7 +372,7 @@ Node::ReasonForTermination Node::run()
|
|||
Utils::lockDownFile(configAuthTokenPath.c_str(),false);
|
||||
|
||||
// Create the objects that make up runtime state.
|
||||
_r->multicaster = new Multicaster();
|
||||
_r->mc = new Multicaster();
|
||||
_r->sw = new Switch(_r);
|
||||
_r->demarc = new Demarc(_r);
|
||||
_r->topology = new Topology(_r,(_r->homePath + ZT_PATH_SEPARATOR_S + "peer.db").c_str());
|
||||
|
@ -547,6 +547,7 @@ Node::ReasonForTermination Node::run()
|
|||
|
||||
if ((now - lastClean) >= ZT_DB_CLEAN_PERIOD) {
|
||||
lastClean = now;
|
||||
_r->mc->clean();
|
||||
_r->topology->clean();
|
||||
_r->nc->clean();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue