remove heartbeat spam logging

This commit is contained in:
Lion Kortlepel 2022-10-06 02:26:05 +02:00
parent 064e71e59f
commit 54730d2baf
No known key found for this signature in database
GPG Key ID: 4322FF2B4C71259B

View File

@ -42,8 +42,6 @@ void THeartbeatThread::operator()() {
Body += "&pps=" + Application::PPS();
beammp_trace("heartbeat body: '" + Body + "'");
auto SentryReportError = [&](const std::string& transaction, int status) {
auto Lock = Sentry.CreateExclusiveContext();
Sentry.SetContext("heartbeat",
@ -61,7 +59,6 @@ void THeartbeatThread::operator()() {
bool Ok = false;
for (const auto& Url : Application::GetBackendUrlsInOrder()) {
T = Http::POST(Url, 443, Target, Body, "application/x-www-form-urlencoded", &ResponseCode, { { "api-v", "2" } });
beammp_trace(T);
Doc.Parse(T.data(), T.size());
if (Doc.HasParseError() || !Doc.IsObject()) {
if (!Application::Settings.Private) {