mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-17 07:41:23 +01:00
very minor cleanup in the sync endpoint
I meant to do this in 146465693e, but
looks like I forgot.
This commit is contained in:
parent
72962c6402
commit
ec1b086a35
1 changed files with 1 additions and 4 deletions
|
|
@ -457,11 +457,8 @@ pub(crate) async fn sync_events_route(
|
||||||
Ok(x) => x.expect("watcher should succeed"),
|
Ok(x) => x.expect("watcher should succeed"),
|
||||||
Err(error) => debug!(%error, "timed out"),
|
Err(error) => debug!(%error, "timed out"),
|
||||||
};
|
};
|
||||||
Ok(Ra(response))
|
|
||||||
} else {
|
|
||||||
// Only cache if we made progress
|
|
||||||
Ok(Ra(response))
|
|
||||||
}
|
}
|
||||||
|
Ok(Ra(response))
|
||||||
}
|
}
|
||||||
|
|
||||||
#[allow(clippy::too_many_arguments, clippy::too_many_lines)]
|
#[allow(clippy::too_many_arguments, clippy::too_many_lines)]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue