Temporary online notification thread hack
Updates both Redis and Postgres
This commit is contained in:
parent
2f0f0e4f53
commit
9794e31a64
2 changed files with 60 additions and 24 deletions
|
@ -70,7 +70,7 @@ private:
|
|||
|
||||
void commitThread();
|
||||
void onlineNotificationThread();
|
||||
void onlineNotification_Postgres();
|
||||
void onlineNotification_Postgres(PGconn *conn, std::unordered_map< std::pair<uint64_t,uint64_t>,std::pair<int64_t,InetAddress>,_PairHasher > &lastOnline);
|
||||
void onlineNotification_Redis();
|
||||
void _doRedisUpdate(sw::redis::Transaction &tx, std::string &controllerId,
|
||||
std::unordered_map< std::pair<uint64_t,uint64_t>,std::pair<int64_t,InetAddress>,_PairHasher > &lastOnline);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue