From 3db263284bcd416b4499dc7d90e8403de8d4b1c2 Mon Sep 17 00:00:00 2001 From: Grant Limberg Date: Thu, 10 Sep 2020 13:18:25 -0700 Subject: [PATCH] not sure how this got reverted --- controller/PostgreSQL.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controller/PostgreSQL.cpp b/controller/PostgreSQL.cpp index b0709ad1c..a031c1ff0 100644 --- a/controller/PostgreSQL.cpp +++ b/controller/PostgreSQL.cpp @@ -1765,7 +1765,7 @@ void PostgreSQL::onlineNotification_Postgres() PQclear(res); } - std::this_thread::sleep_for(std::chrono::milliseconds(100)); + std::this_thread::sleep_for(std::chrono::seconds(10)); } fprintf(stderr, "%s: Fell out of run loop in onlineNotificationThread\n", _myAddressStr.c_str()); PQfinish(conn);