Fixed while true loop
This commit is contained in:
parent
678f5e0a6b
commit
c28f779484
@ -662,7 +662,7 @@ void QueryServer::tick_executor() {
|
||||
|
||||
auto current_timestamp = std::chrono::system_clock::now();
|
||||
if(current_timestamp > this->tick_next_client_timestamp) {
|
||||
this->tick_next_client_timestamp = current_timestamp;
|
||||
this->tick_next_client_timestamp = current_timestamp + std::chrono::milliseconds{500};
|
||||
tick_clients = true;
|
||||
} else {
|
||||
tick_clients = false;
|
||||
|
Loading…
Reference in New Issue
Block a user