Jelajahi Sumber

Sleep 10 seconds between writes to DB

Grant Limberg 5 tahun lalu
induk
melakukan
7f99c4a779
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      controller/PostgreSQL.cpp

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