mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-05 03:53:44 +02:00
Sleep 10 seconds between writes to DB
This commit is contained in:
parent
5b700fa497
commit
7f99c4a779
1 changed files with 1 additions and 1 deletions
|
@ -1714,7 +1714,7 @@ void PostgreSQL::onlineNotification_Redis()
|
||||||
fprintf(stderr, "Error in online notification thread (redis): %s\n", e.what());
|
fprintf(stderr, "Error in online notification thread (redis): %s\n", e.what());
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
std::this_thread::sleep_for(std::chrono::milliseconds(100));
|
std::this_thread::sleep_for(std::chrono::seconds(10));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue