Bump Rocket to current HEAD

This commit is contained in:
Rudi Floren 2021-03-03 22:38:31 +01:00
parent 1a940b6e05
commit f4039902d8
4 changed files with 401 additions and 354 deletions

View file

@ -698,7 +698,8 @@ pub async fn sync_events_route(
if duration.as_secs() > 30 {
duration = Duration::from_secs(30);
}
let mut delay = tokio::time::delay_for(duration);
let delay = tokio::time::sleep(duration);
tokio::pin!(delay);
tokio::select! {
_ = &mut delay => {}
_ = watcher => {}