Fix heartbeat being triggered too frequently (#691)

Actual bruh moment. This was actually quite a costly mistake for my Cloudflare bill.
This commit is contained in:
oldmud0 2022-03-12 10:15:57 -06:00 committed by GitHub
parent 00f6005159
commit 5657ac74ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,7 +33,7 @@ public:
const QString DEFAULT_MS_BASEURL = "https://servers.aceattorneyonline.com"; const QString DEFAULT_MS_BASEURL = "https://servers.aceattorneyonline.com";
QString ms_baseurl = DEFAULT_MS_BASEURL; QString ms_baseurl = DEFAULT_MS_BASEURL;
const int heartbeat_interval = 60 * 5; const int heartbeat_interval = 60 * 5 * 1000;
bool partial_packet = false; bool partial_packet = false;
QString temp_packet = ""; QString temp_packet = "";