mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2025-07-03 08:15:35 +00:00
don't count pps changes towards heartbeat hot-changes
This commit is contained in:
parent
15cad02e13
commit
e039eeaab8
@ -34,6 +34,8 @@ void THeartbeatThread::operator()() {
|
||||
if (!Application::Settings.CustomIP.empty())
|
||||
Body += "&ip=" + Application::Settings.CustomIP;
|
||||
|
||||
Body += "&pps=" + Application::PPS();
|
||||
|
||||
T = Http::POST("beammp.com", "/heartbeatv2", {}, Body, false);
|
||||
|
||||
if (T.substr(0, 2) != "20") {
|
||||
@ -73,7 +75,6 @@ std::string THeartbeatThread::GenerateCall() {
|
||||
<< "&version=" << Application::ServerVersion()
|
||||
<< "&clientversion=" << Application::ClientVersion()
|
||||
<< "&name=" << Application::Settings.ServerName
|
||||
<< "&pps=" << Application::PPS()
|
||||
<< "&modlist=" << mResourceManager.TrimmedList()
|
||||
<< "&modstotalsize=" << mResourceManager.MaxModSize()
|
||||
<< "&modstotal=" << mResourceManager.ModsLoaded()
|
||||
|
Loading…
x
Reference in New Issue
Block a user