Skip to content

Commit 9a0678a

Browse files
committed
fix(config): remov euse of rivet_utils package
1 parent 3518b20 commit 9a0678a

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

engine/packages/config/src/config/pegboard.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,10 @@ impl Pegboard {
7474
}
7575

7676
pub fn runner_eligible_threshold(&self) -> i64 {
77-
self.runner_eligible_threshold
78-
.unwrap_or(util::duration::seconds(10))
77+
self.runner_eligible_threshold.unwrap_or(10_000)
7978
}
8079

8180
pub fn runner_lost_threshold(&self) -> i64 {
82-
self.runner_lost_threshold
83-
.unwrap_or(util::duration::seconds(15))
81+
self.runner_lost_threshold.unwrap_or(15_000)
8482
}
8583
}

0 commit comments

Comments
 (0)