mirror of
https://github.com/overte-org/overte.git
synced 2025-04-15 12:28:51 +02:00
Additional Grapics API info was added to the system info, which
overflowed the amount of info that could be sent in a packet.
This commit is contained in:
parent
3b138fe031
commit
8ac185af11
1 changed files with 9 additions and 1 deletions
|
@ -425,7 +425,15 @@ void NodeList::sendDomainServerCheckIn() {
|
|||
auto accountManager = DependencyManager::get<AccountManager>();
|
||||
packetStream << FingerprintUtils::getMachineFingerprint();
|
||||
|
||||
auto desc = platform::getAll();
|
||||
platform::json all = platform::getAll();
|
||||
platform::json desc;
|
||||
// only pull out those items that will fit within a packet
|
||||
desc[platform::keys::COMPUTER] = all[platform::keys::COMPUTER];
|
||||
desc[platform::keys::MEMORY] = all[platform::keys::MEMORY];
|
||||
desc[platform::keys::CPUS] = all[platform::keys::CPUS];
|
||||
desc[platform::keys::GPUS] = all[platform::keys::GPUS];
|
||||
desc[platform::keys::DISPLAYS] = all[platform::keys::DISPLAYS];
|
||||
desc[platform::keys::NICS] = all[platform::keys::NICS];
|
||||
|
||||
QByteArray systemInfo(desc.dump().c_str());
|
||||
QByteArray compressedSystemInfo = qCompress(systemInfo);
|
||||
|
|
Loading…
Reference in a new issue