Files
Ethan Dickson de1a317890 refactor(coderd/database/pubsub): clean up batching implementation
- Trim metrics from 18 to 6, removing counters that duplicated info
  available from existing metrics or provided little operational signal.
- Inline single-use constants.
- Re-add hidden PubsubFlushInterval and PubsubQueueSize config knobs
  to ChatConfig for tuning without code changes.
- Remove dead ErrBatchingPubsubQueueFull export (never returned).
- Remove unreachable nil branch in batchFlushStage.
- Propagate resetErr through flushBatch even when delegate replay
  succeeds, so drain reports the broken sender state.
- Annotate sender field with goroutine-safety invariant.
- Regenerate metrics docs.
2026-04-09 14:43:59 +00:00
..
2023-09-08 18:21:33 +00:00