doc(event cache): tweak outdated comment

This commit is contained in:
Benjamin Bouvier
2025-07-01 17:13:01 +02:00
parent b188a157af
commit 38bbdf0547

View File

@@ -1558,8 +1558,8 @@ mod private {
// so it only contains the last one; otherwise, there might be a
// valid gap in between, and observers may not render it (yet).
//
// We must do this *after* the above call to `.with_events_mut`, so the new
// events and gaps are properly persisted to storage.
// We must do this *after* persisting these events to storage (in
// `post_process_new_events`).
self.shrink_to_last_chunk().await?;
}