Skip to content

Commit d0c4083

Browse files
cycle caches at 10 builds, not 11
1 parent b99a0ac commit d0c4083

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/daemon.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ pub fn start_daemon() {
9595
continue;
9696
}
9797

98-
if status.count() > 10 {
98+
if status.count() >= 10 {
9999
// periodically, we need to flush our caches and ping the hubs
100100
debug!("10 builds in a row; flushing caches");
101101
status = BuilderState::QueueInProgress(0);

0 commit comments

Comments
 (0)