mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-18 21:16:54 +02:00
dont spin as much in the onlineNotificationThread
This commit is contained in:
parent
90d324ae96
commit
37d321afc8
1 changed files with 1 additions and 1 deletions
|
@ -1512,7 +1512,7 @@ void PostgreSQL::onlineNotificationThread()
|
|||
// PQclear(res);
|
||||
// }
|
||||
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(0));
|
||||
std::this_thread::sleep_for(std::chrono::milliseconds(10));
|
||||
}
|
||||
fprintf(stderr, "%s: Fell out of run loop in onlineNotificationThread\n", _myAddressStr.c_str());
|
||||
PQfinish(conn);
|
||||
|
|
Loading…
Add table
Reference in a new issue