aboutsummaryrefslogtreecommitdiff
path: root/NorthstarDedicatedTest/masterserver.cpp
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-12-15 05:06:36 +0000
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2021-12-15 05:06:36 +0000
commit57c269f6f2202ca396bcbf9b6e8fffcd93e4db7c (patch)
treec5a30ae171a14abca5ae8f80c0c2757d429a83f3 /NorthstarDedicatedTest/masterserver.cpp
parent3492008d7b55f342ea2d7191ca2301d7597c5127 (diff)
downloadNorthstarLauncher-57c269f6f2202ca396bcbf9b6e8fffcd93e4db7c.tar.gz
NorthstarLauncher-57c269f6f2202ca396bcbf9b6e8fffcd93e4db7c.zip
dedi ShowWindow patch
Diffstat (limited to 'NorthstarDedicatedTest/masterserver.cpp')
-rw-r--r--NorthstarDedicatedTest/masterserver.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/NorthstarDedicatedTest/masterserver.cpp b/NorthstarDedicatedTest/masterserver.cpp
index 4798a9b5..ce078633 100644
--- a/NorthstarDedicatedTest/masterserver.cpp
+++ b/NorthstarDedicatedTest/masterserver.cpp
@@ -641,6 +641,7 @@ void MasterServerManager::AddSelfToServerList(int port, int authPort, char* name
// heartbeat thread
+ // ideally this should actually be done in main thread, rather than on it's own thread, so it'd stop if server freezes
std::thread heartbeatThread([this] {
httplib::Client http(Cvar_ns_masterserver_hostname->m_pszString, Cvar_ns_masterserver_port->m_nValue);
http.set_connection_timeout(10);