浏览代码

not sure how this got reverted

Grant Limberg 5 年之前
父节点
当前提交
3db263284b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      controller/PostgreSQL.cpp

+ 1 - 1
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);