2
0
Эх сурвалжийг харах

Sleep 10 seconds between writes to DB

Grant Limberg 5 жил өмнө
parent
commit
7f99c4a779

+ 1 - 1
controller/PostgreSQL.cpp

@@ -1714,7 +1714,7 @@ void PostgreSQL::onlineNotification_Redis()
 			fprintf(stderr, "Error in online notification thread (redis): %s\n", e.what());
 #endif
 		}
-		std::this_thread::sleep_for(std::chrono::milliseconds(100));
+		std::this_thread::sleep_for(std::chrono::seconds(10));
 	}
 }