No longer update both pgsql & redis

This commit is contained in:
Grant Limberg 2020-05-28 19:22:07 -07:00
parent 06de25a680
commit 135a547889
No known key found for this signature in database
GPG key ID: 2BA62CCABBB4095A
2 changed files with 24 additions and 60 deletions

View file

@ -70,7 +70,7 @@ private:
void commitThread();
void onlineNotificationThread();
void onlineNotification_Postgres(PGconn *conn, std::unordered_map< std::pair<uint64_t,uint64_t>,std::pair<int64_t,InetAddress>,_PairHasher > &lastOnline);
void onlineNotification_Postgres();
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);