diff options
-rw-r--r-- | guix-build-coordinator/agent.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/guix-build-coordinator/agent.scm b/guix-build-coordinator/agent.scm index 30af393..d5c20ac 100644 --- a/guix-build-coordinator/agent.scm +++ b/guix-build-coordinator/agent.scm @@ -180,7 +180,7 @@ (when (or (> bytes-now-sent (+ last-progress-update-bytes-sent 10000000)) - (and (> (- (time-second (current-time))) + (and (> (time-second (current-time)) (+ last-progress-update-time 15)))) (set! last-progress-update-bytes-sent bytes-now-sent) @@ -205,7 +205,7 @@ bytes-now-hashed) (when (or (> bytes-now-hashed (+ last-progress-update-bytes-hashed 10000000)) - (and (> (- (time-second (current-time))) + (and (> (time-second (current-time)) (+ last-progress-update-time 15)))) (set! last-progress-update-bytes-hashed bytes-now-hashed) |