forked from mirror/grapevine
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"),
|
||||
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)]
|
||||
|
|
Loading…
Reference in a new issue