Browse Source

not sure how this got reverted

Grant Limberg 4 years ago
parent
commit
3db263284b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      controller/PostgreSQL.cpp

+ 1 - 1
controller/PostgreSQL.cpp

@@ -1765,7 +1765,7 @@ void PostgreSQL::onlineNotification_Postgres()
 			PQclear(res);
 			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());
 	fprintf(stderr, "%s: Fell out of run loop in onlineNotificationThread\n", _myAddressStr.c_str());
 	PQfinish(conn);
 	PQfinish(conn);