pageserver: remove stale comment (#11016)

No longer true now that we eagerly notify the compaction loop.
This commit is contained in:
Erik Grinaker
2025-02-27 13:56:28 +01:00
committed by GitHub
parent e35f7758d8
commit 93b59e65a2

View File

@@ -4212,10 +4212,6 @@ impl Timeline {
// Stall flushes to backpressure if compaction can't keep up. This is propagated up
// to WAL ingestion by having ephemeral layer rolls wait for flushes.
//
// NB: the compaction loop only checks `compaction_threshold` every 20 seconds, so
// we can end up stalling before compaction even starts. Consider making it more
// responsive (e.g. via `watch_level0_deltas`).
if let Some(stall_threshold) = self.get_l0_flush_stall_threshold() {
if l0_count >= stall_threshold {
warn!(