Explorar o código

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

Grant Limberg %!s(int64=3) %!d(string=hai) anos
pai
achega
d0f4cfe6b4
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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));
 			}
 		}