Append state event that pass resolution to DB, update to tokio 1.1
This commit is contained in:
parent
e0453e2348
commit
6fd3e1d1dd
6 changed files with 298 additions and 476 deletions
|
@ -701,7 +701,7 @@ pub async fn sync_events_route(
|
|||
let delay = tokio::time::sleep(duration);
|
||||
tokio::pin!(delay);
|
||||
tokio::select! {
|
||||
_ = &mut delay => {}
|
||||
_ = &mut delay, if delay.is_elapsed() => {}
|
||||
_ = watcher => {}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue