Don't spam the journal with hydra-queue-runner status dumps

(cherry picked from commit 15ae932488)
This commit is contained in:
Eelco Dolstra
2020-03-26 15:30:37 +01:00
parent ccd046ca3d
commit 9727892b61
2 changed files with 5 additions and 13 deletions

View File

@ -420,9 +420,6 @@ private:
size_t maxOutputSize;
size_t maxLogSize;
time_t lastStatusLogged = 0;
const int statusLogInterval = 300;
/* Steps that were busy while we encounted a PostgreSQL
error. These need to be cleared at a later time to prevent them
from showing up as busy until the queue runner is restarted. */
@ -546,7 +543,7 @@ private:
has it. */
std::shared_ptr<nix::PathLocks> acquireGlobalLock();
void dumpStatus(Connection & conn, bool log);
void dumpStatus(Connection & conn);
void addRoot(const nix::StorePath & storePath);