Skip to content

Commit b377505

Browse files
Check disk space more often
Currently seeing a high rate of failure in git clone due to disk space limits being exhausted, which is presumably due to this check not running often enough, though we don't have great evidence for that. With current instance disk space (100 GB) we would need to always grow slower than 15GB in 5 minutes (roughly 3GB/minute), which seems like it should be reasonable, but maybe isn't. It's likely also worth exploring a retry strategy for error'd crates, but that'll take more design work to make sure we do eventually complete.
1 parent 7c9db09 commit b377505

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/runner/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ use std::collections::HashMap;
1616
use std::sync::Mutex;
1717
use std::time::Duration;
1818

19-
const DISK_SPACE_WATCHER_INTERVAL: Duration = Duration::from_secs(300);
20-
const DISK_SPACE_WATCHER_THRESHOLD: f32 = 0.85;
19+
const DISK_SPACE_WATCHER_INTERVAL: Duration = Duration::from_secs(30);
20+
const DISK_SPACE_WATCHER_THRESHOLD: f32 = 0.80;
2121

2222
#[derive(Debug, Fail)]
2323
#[fail(display = "overridden task result to {}", _0)]

0 commit comments

Comments
 (0)