diff options
| author | Grant Limberg <[email protected]> | 2021-08-20 10:34:00 -0700 |
|---|---|---|
| committer | Grant Limberg <[email protected]> | 2021-08-20 10:34:00 -0700 |
| commit | d0f4cfe6b4536f1ae22c78997ae7b6673aa310d6 (patch) | |
| tree | b0a329fca74ddd8d5d3ce5a0b10d604997916248 /controller/PostgreSQL.cpp | |
| parent | 3ec23f92ec7a860d1fcd3754f5090fe64c571b85 (diff) | |
print load status messages a little less often now that things go brrrrrrrrr
Diffstat (limited to 'controller/PostgreSQL.cpp')
| -rw-r--r-- | controller/PostgreSQL.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/controller/PostgreSQL.cpp b/controller/PostgreSQL.cpp index 6d2e78a8..64b0767b 100644 --- a/controller/PostgreSQL.cpp +++ b/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)); } } |
