mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 17:35:08 +02:00
Build fix
This commit is contained in:
parent
e2e1edc8b0
commit
03326cd471
3 changed files with 3 additions and 5 deletions
|
@ -100,7 +100,7 @@ public:
|
|||
virtual Node::LocalID getDomainLocalID() const override { return _domainHandler.getLocalID(); }
|
||||
virtual HifiSockAddr getDomainSockAddr() const override { return _domainHandler.getSockAddr(); }
|
||||
|
||||
unsigned getGlobalPostedEventCount() { return _globalPostedEvents; }
|
||||
int getGlobalPostedEventCount() { return _globalPostedEvents; }
|
||||
|
||||
public slots:
|
||||
void reset(bool skipDomainHandlerReset = false);
|
||||
|
@ -173,7 +173,7 @@ private:
|
|||
bool _isShuttingDown { false };
|
||||
QTimer _keepAlivePingTimer;
|
||||
bool _requestsDomainListData { false };
|
||||
unsigned _globalPostedEvents { 0 };
|
||||
int _globalPostedEvents { 0 };
|
||||
|
||||
bool _sendDomainServerCheckInEnabled { true };
|
||||
|
||||
|
|
|
@ -106,9 +106,8 @@ void ThreadedAssignment::addPacketStatsAndSendStatsPacket(QJsonObject statsObjec
|
|||
QJsonObject assignmentStats;
|
||||
assignmentStats["numQueuedCheckIns"] = _numQueuedCheckIns;
|
||||
|
||||
assignmentStats["globalPostedEventCount"] = (long long)nodeList->getGlobalPostedEventCount();
|
||||
assignmentStats["globalPostedEventCount"] = nodeList->getGlobalPostedEventCount();
|
||||
|
||||
assignmentStats["domainReportDuration"] = domainServerReportPerSec.count();
|
||||
statsObject["assignmentStats"] = assignmentStats;
|
||||
|
||||
nodeList->sendStatsToDomainServer(statsObject);
|
||||
|
|
|
@ -49,7 +49,6 @@ protected:
|
|||
QTimer _statsTimer;
|
||||
int _numQueuedCheckIns { 0 };
|
||||
p_high_resolution_clock::time_point timestamp;
|
||||
std::chrono::milliseconds domainServerReportPerSec{ 0 };
|
||||
|
||||
protected slots:
|
||||
void domainSettingsRequestFailed();
|
||||
|
|
Loading…
Reference in a new issue