mirror of
https://git.asonix.dog/asonix/pict-rs.git
synced 2024-11-28 20:41:00 +00:00
10 second worker delay after disconnect error
This commit is contained in:
parent
62ebc1c60a
commit
492b99922b
1 changed files with 1 additions and 1 deletions
|
@ -204,7 +204,7 @@ async fn process_jobs<S, F>(
|
|||
tracing::warn!("{}", format!("{e:?}"));
|
||||
|
||||
if e.is_disconnected() {
|
||||
actix_rt::time::sleep(Duration::from_secs(3)).await;
|
||||
actix_rt::time::sleep(Duration::from_secs(10)).await;
|
||||
}
|
||||
|
||||
continue;
|
||||
|
|
Loading…
Reference in a new issue