style: Fix up some TODOs

This commit is contained in:
timedout authored and Jade Ellis committed 2026-06-27 20:23:19 +01:00
1 parent 9028b18792
commit 22c7fa1b08
3 files changed
+1 -4

No files matched your search

@@ -88,7 +88,7 @@ impl super::Service {
for (i, event_id) in to_persist.iter().enumerate() {
debug!(
elapsed=?start.elapsed(),
"[TODO] Persisting fetched prev event: {event_id} ({}/{})",
"Persisting fetched prev event: {event_id} ({}/{})",
i.saturating_add(1),
to_persist.len(),
);
@@ -282,7 +282,6 @@ impl super::Service {
/// state events as outliers, for use later.
///
/// Any events that cannot be persisted are dropped with a warning.
/// TODO: make it noisy?
pub(super) async fn fetch_full_state(
&self,
origin: &ServerName,
@@ -170,8 +170,6 @@ impl super::Service {
)));
}
}
// TODO: do events received from auth chain need persisting? that
// sounds awfully slow
}
// 6. Reject "due to auth events" if the event doesn't pass auth based on the