1
0
Fork 0
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:
Benjamin Lee 2024-05-30 09:47:19 -07:00 committed by Charles Hall
parent 72962c6402
commit ec1b086a35
No known key found for this signature in database
GPG key ID: 7B8E0645816E07CF

View file

@ -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)]