Преглед изворни кода

Sleep 10 seconds between writes to DB

Grant Limberg пре 5 година
родитељ
комит
7f99c4a779
1 измењених фајлова са 1 додато и 1 уклоњено
  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());
 			fprintf(stderr, "Error in online notification thread (redis): %s\n", e.what());
 #endif
 #endif
 		}
 		}
-		std::this_thread::sleep_for(std::chrono::milliseconds(100));
+		std::this_thread::sleep_for(std::chrono::seconds(10));
 	}
 	}
 }
 }