We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3518b20 commit 9a0678aCopy full SHA for 9a0678a
engine/packages/config/src/config/pegboard.rs
@@ -74,12 +74,10 @@ impl Pegboard {
74
}
75
76
pub fn runner_eligible_threshold(&self) -> i64 {
77
- self.runner_eligible_threshold
78
- .unwrap_or(util::duration::seconds(10))
+ self.runner_eligible_threshold.unwrap_or(10_000)
79
80
81
pub fn runner_lost_threshold(&self) -> i64 {
82
- self.runner_lost_threshold
83
- .unwrap_or(util::duration::seconds(15))
+ self.runner_lost_threshold.unwrap_or(15_000)
84
85
0 commit comments