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 8a4a94a commit 0b2ac07Copy full SHA for 0b2ac07
src/stackmat.rs
@@ -123,7 +123,11 @@ pub async fn stackmat_task(
123
}
124
} else if parsed.0 == StackmatTimerState::Stopped {
125
let mut state = global_state.state.lock().await;
126
- let last_solve_diff = state.last_solve_time.unwrap_or(0).abs_diff(parsed.1);
+ let last_solve_diff = if cfg!(not(feature = "e2e")) {
127
+ state.last_solve_time.unwrap_or(0).abs_diff(parsed.1)
128
+ } else {
129
+ 1000
130
+ };
131
132
if state.solve_time.is_none() && last_solve_diff > 10 {
133
let inspection_time = state
0 commit comments