summaryrefslogtreecommitdiff
path: root/controller
diff options
context:
space:
mode:
authorAdam Ierymenko <adam.ierymenko@gmail.com>2019-06-06 10:04:11 -0700
committerAdam Ierymenko <adam.ierymenko@gmail.com>2019-06-06 10:04:11 -0700
commit848f822171a41f78eef7ee0dcab99a6ec53d634a (patch)
tree12db6945a5bfa798c00a98f6a2b915f42bc7f56c /controller
parentcacdb445c786f97d5d9af200b17665bb171a42d9 (diff)
parentd4199ddb3ef59b8f754129bfc91f91c18f84759c (diff)
downloadinfinitytier-848f822171a41f78eef7ee0dcab99a6ec53d634a.tar.gz
infinitytier-848f822171a41f78eef7ee0dcab99a6ec53d634a.zip
.
Diffstat (limited to 'controller')
-rw-r--r--controller/PostgreSQL.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/controller/PostgreSQL.cpp b/controller/PostgreSQL.cpp
index 9aa4fbaa..de6b4f46 100644
--- a/controller/PostgreSQL.cpp
+++ b/controller/PostgreSQL.cpp
@@ -1512,7 +1512,7 @@ void PostgreSQL::onlineNotificationThread()
// PQclear(res);
// }
- std::this_thread::sleep_for(std::chrono::milliseconds(0));
+ std::this_thread::sleep_for(std::chrono::milliseconds(10));
}
fprintf(stderr, "%s: Fell out of run loop in onlineNotificationThread\n", _myAddressStr.c_str());
PQfinish(conn);