mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 18:42:58 +02:00
ubuntu build fix and CR fix
This commit is contained in:
parent
c6de86a80c
commit
41be22a7bb
2 changed files with 3 additions and 3 deletions
|
@ -1175,7 +1175,7 @@ void DomainServer::sendDomainListToNode(const SharedNodePointer& node, quint64 r
|
||||||
extendedHeaderStream << limitedNodeList->getAuthenticatePackets();
|
extendedHeaderStream << limitedNodeList->getAuthenticatePackets();
|
||||||
extendedHeaderStream << nodeData->getLastDomainCheckinTimestamp();
|
extendedHeaderStream << nodeData->getLastDomainCheckinTimestamp();
|
||||||
extendedHeaderStream << requestPacketReceiveTime;
|
extendedHeaderStream << requestPacketReceiveTime;
|
||||||
extendedHeaderStream << duration_cast<microseconds>(p_high_resolution_clock::now().time_since_epoch()).count();
|
extendedHeaderStream << quint64(duration_cast<microseconds>(p_high_resolution_clock::now().time_since_epoch()).count());
|
||||||
auto domainListPackets = NLPacketList::create(PacketType::DomainList, extendedHeader);
|
auto domainListPackets = NLPacketList::create(PacketType::DomainList, extendedHeader);
|
||||||
|
|
||||||
// always send the node their own UUID back
|
// always send the node their own UUID back
|
||||||
|
|
|
@ -416,7 +416,7 @@ void NodeList::sendDomainServerCheckIn() {
|
||||||
packetStream << FingerprintUtils::getMachineFingerprint();
|
packetStream << FingerprintUtils::getMachineFingerprint();
|
||||||
}
|
}
|
||||||
|
|
||||||
packetStream << duration_cast<microseconds>(p_high_resolution_clock::now().time_since_epoch()).count();
|
packetStream << quint64(duration_cast<microseconds>(p_high_resolution_clock::now().time_since_epoch()).count());
|
||||||
|
|
||||||
// pack our data to send to the domain-server including
|
// pack our data to send to the domain-server including
|
||||||
// the hostname information (so the domain-server can see which place name we came in on)
|
// the hostname information (so the domain-server can see which place name we came in on)
|
||||||
|
@ -662,7 +662,7 @@ void NodeList::processDomainServerList(QSharedPointer<ReceivedMessage> message)
|
||||||
|
|
||||||
qint64 pingLagTime = (now - qint64(connectRequestTimestamp)) / qint64(USECS_PER_MSEC);
|
qint64 pingLagTime = (now - qint64(connectRequestTimestamp)) / qint64(USECS_PER_MSEC);
|
||||||
|
|
||||||
qint64 domainServerRequestLag = (qint64(connectRequestTimestamp) - qint64(connectRequestTimestamp)) / qint64(USECS_PER_MSEC);
|
qint64 domainServerRequestLag = (qint64(domainServerRequestReceiveTime) - qint64(connectRequestTimestamp)) / qint64(USECS_PER_MSEC);
|
||||||
quint64 domainServerCheckinProcessingTime = domainServerPingSendTime - domainServerRequestReceiveTime;
|
quint64 domainServerCheckinProcessingTime = domainServerPingSendTime - domainServerRequestReceiveTime;
|
||||||
qint64 domainServerResponseLag = (now - qint64(domainServerPingSendTime)) / qint64(USECS_PER_MSEC);
|
qint64 domainServerResponseLag = (now - qint64(domainServerPingSendTime)) / qint64(USECS_PER_MSEC);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue