mirror of
https://git.asonix.dog/asonix/pict-rs
synced 2024-12-22 11:21:24 +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