Update ruma and rocket to latest git rev and tokio to 1.0
Ruma updated the event signing validation code and there was a dep resolving failure with serde rocket and tokio so I updated rocket latest and tokio 1.0 to fix.
This commit is contained in:
parent
7309b2fba9
commit
66af1ff695
3 changed files with 294 additions and 168 deletions
|
@ -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 => {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue