mirror of
https://github.com/uqbar-dao/nectar.git
synced 2024-12-22 16:11:38 +03:00
Format Rust code using rustfmt
This commit is contained in:
parent
61ea6dc13f
commit
28664d7c27
@ -507,12 +507,10 @@ pub async fn make_process_loop(
|
|||||||
reinitialize.await;
|
reinitialize.await;
|
||||||
None
|
None
|
||||||
}
|
}
|
||||||
Some(wait_till) => {
|
Some(wait_till) => Some(tokio::spawn(async move {
|
||||||
Some(tokio::spawn(async move {
|
tokio::time::sleep_until(wait_till).await;
|
||||||
tokio::time::sleep_until(wait_till).await;
|
reinitialize.await;
|
||||||
reinitialize.await;
|
})),
|
||||||
}))
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
*restart_backoff_lock = Some(RestartBackoff {
|
*restart_backoff_lock = Some(RestartBackoff {
|
||||||
next_soonest_restart_time,
|
next_soonest_restart_time,
|
||||||
|
Loading…
Reference in New Issue
Block a user