Browse Source

print load status messages a little less often now that things go brrrrrrrrr

Grant Limberg 3 years ago
parent
commit
d0f4cfe6b4
1 changed files with 2 additions and 2 deletions
  1. 2 2
      controller/PostgreSQL.cpp

+ 2 - 2
controller/PostgreSQL.cpp

@@ -594,7 +594,7 @@ void PostgreSQL::initializeNetworks()
 			auto dur = std::chrono::duration_cast<std::chrono::microseconds>(end - start);;
 			total += dur.count();
 			++count;
-			if (count % 1000 == 0) {
+			if (count % 10000 == 0) {
 				fprintf(stderr, "Averaging %llu us per network\n", (total/count));
 			}
 		}
@@ -748,7 +748,7 @@ void PostgreSQL::initializeMembers()
 			auto dur = std::chrono::duration_cast<std::chrono::microseconds>(end - start);;
 			total += dur.count();
 			++count;
-			if (count % 1000 == 0) {
+			if (count % 10000 == 0) {
 				fprintf(stderr, "Averaging %llu us per member\n", (total/count));
 			}
 		}