Skip to content

Commit 1b63fe4

Browse files
edward-shenmeta-codesync[bot]
authored andcommitted
Replace Duration::from_secs(900) to Duration::from_mins(15)
Summary: Rust 1.91 introduced `Duration::from_mins`. This diff replaces some instances of `Duration::from_secs` with the corresponding `Duration::from_mins`. Reviewed By: dtolnay Differential Revision: D88441009 fbshipit-source-id: bb90b581fac842b44c4a87ca69c0c7f210366b12
1 parent 5f0fea0 commit 1b63fe4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/executors/executor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ use crate::testcase::TestCase;
2525

2626
lazy_static! {
2727
/// Default timeout for all executions within a single test document
28-
pub static ref DEFAULT_TOTAL_TIMEOUT: Duration = Duration::from_secs(900);
28+
pub static ref DEFAULT_TOTAL_TIMEOUT: Duration = Duration::from_mins(15);
2929
}
3030

3131
pub type Result<T> = anyhow::Result<T, ExecutionError>;

0 commit comments

Comments
 (0)