History

move all silent node timers into LimitedNodeList

Stephen Birarda committed 11 years ago

Commit 9f754e41 parent d3bc5405 files · +7 −17Browse files

Showing the changes to libraries/networking/src/ThreadedAssignment.cpp (1 of 5 files). Show all

Unified · Split

libraries/networking/src/ThreadedAssignment.cpp+0−4
@@ -67,10 +67,6 @@ void ThreadedAssignment::commonInit(const QString& targetName, NodeType_t nodeTy · 66 unmodified lines
6767 connect(domainServerTimer, SIGNAL(timeout()), this, SLOT(checkInWithDomainServerOrExit()));
6868 domainServerTimer->start(DOMAIN_SERVER_CHECK_IN_MSECS);
6969
70− QTimer* silentNodeRemovalTimer = new QTimer(this);
71− connect(silentNodeRemovalTimer, SIGNAL(timeout()), nodeList.data(), SLOT(removeSilentNodes()));
72− silentNodeRemovalTimer->start(NODE_SILENCE_THRESHOLD_MSECS);
73−
7470 if (shouldSendStats) {
7571 // send a stats packet every 1 second
7672 QTimer* statsTimer = new QTimer(this);