aboutsummaryrefslogtreecommitdiff
path: root/include/networkmanager.h
diff options
context:
space:
mode:
authoroldmud0 <oldmud0@users.noreply.github.com>2022-03-12 10:15:57 -0600
committerGitHub <noreply@github.com>2022-03-12 17:15:57 +0100
commit5657ac74ae64e32903e295858292c0100ef6b045 (patch)
tree485c6a667ca8bfe194db62cf0d93c4e7d5f5195b /include/networkmanager.h
parent00f6005159a02011b2bfc43e0fc4afb572480734 (diff)
Fix heartbeat being triggered too frequently (#691)
Actual bruh moment. This was actually quite a costly mistake for my Cloudflare bill.
Diffstat (limited to 'include/networkmanager.h')
-rw-r--r--include/networkmanager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/networkmanager.h b/include/networkmanager.h
index 1e1a60b7..26a61f2d 100644
--- a/include/networkmanager.h
+++ b/include/networkmanager.h
@@ -33,7 +33,7 @@ public:
const QString DEFAULT_MS_BASEURL = "https://servers.aceattorneyonline.com";
QString ms_baseurl = DEFAULT_MS_BASEURL;
- const int heartbeat_interval = 60 * 5;
+ const int heartbeat_interval = 60 * 5 * 1000;
bool partial_packet = false;
QString temp_packet = "";