docs: the shutdown comments say what happens, without the task number

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-23 09:41:37 -04:00
co-authored by Claude Opus 5.5
parent 79b90bda03
commit 4756e957ce
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -484,7 +484,7 @@ func run() error {
// Shutdown waits for in-flight requests but never cancels them, and an
// SSE stream only ends when its client leaves. Closing the bus ends
// every stream as shutdown begins, so the drain waits only on real work
// such as an audio stream; clients reconnect to the next instance (#5293).
// such as an audio stream; clients reconnect to the next instance.
httpServer.RegisterOnShutdown(bus.Close)
errCh := make(chan error, 1)
+1 -1
View File
@@ -150,7 +150,7 @@ func TestPublish_ConcurrentWritersAndSubscribers(t *testing.T) {
}
// Close is what lets the server shut down with SSE clients connected: each
// stream returns when its channel closes (#5293).
// stream returns when its channel closes.
func TestClose_EndsEverySubscription(t *testing.T) {
t.Parallel()
b := New()