Showing the changes to libraries/networking/src/ThreadedAssignment.cpp (1 of 1 file). Show all
Unified · Split
| @@ -72,8 +72,9 @@ void ThreadedAssignment::commonInit(const QString& targetName, NodeType_t nodeTy · 71 unmodified lines | ||
| 72 | 72 | auto nodeList = DependencyManager::get<NodeList>(); |
| 73 | 73 | nodeList->setOwnerType(nodeType); |
| 74 | 74 | |
| 75 | − // send a domain-server check in immediately | |
| 75 | + // send a domain-server check in immediately and start the timer to fire them every DOMAIN_SERVER_CHECK_IN_MSECS | |
| 76 | 76 | checkInWithDomainServerOrExit(); |
| 77 | + _domainServerTimer.start(); | |
| 77 | 78 | |
| 78 | 79 | // start sending stats packet once we connect to the domain |
| 79 | 80 | connect(&nodeList->getDomainHandler(), SIGNAL(connectedToDomain(const QString&)), &_statsTimer, SLOT(start())); |