don't spam the logs quite as much on first startup
sleep the thread 1 second every round until we're actually updating members
This commit is contained in:
parent
9d4336d296
commit
ccc0ebd0f9
2 changed files with 12 additions and 5 deletions
|
@ -138,7 +138,7 @@ private:
|
|||
void onlineNotificationThread();
|
||||
void onlineNotification_Postgres();
|
||||
void onlineNotification_Redis();
|
||||
void _doRedisUpdate(sw::redis::Transaction &tx, std::string &controllerId,
|
||||
uint64_t _doRedisUpdate(sw::redis::Transaction &tx, std::string &controllerId,
|
||||
std::unordered_map< std::pair<uint64_t,uint64_t>,std::pair<int64_t,InetAddress>,_PairHasher > &lastOnline);
|
||||
|
||||
enum OverrideMode {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue