ok/jj
1
0
Fork 0
forked from mirrors/jj

git_store: revert lock timeout to 10s

This backs out commit 67e11e0fc3. We now use one thread per CPU in
tests (419002fab4), so I hope the tests won't need the 1-minute
timeout anymore.
This commit is contained in:
Martin von Zweigbergk 2021-05-01 14:35:45 -07:00
parent df2caab274
commit b953d7d801

View file

@ -146,7 +146,7 @@ fn write_note(
};
let mut backoff = ExponentialBackoff {
initial_interval: Duration::from_millis(1),
max_elapsed_time: Some(Duration::from_secs(60)),
max_elapsed_time: Some(Duration::from_secs(10)),
..Default::default()
};
try_write_note