Skip to content

Commit d0506c2

Browse files
committed
chore: improve comment
1 parent 620243b commit d0506c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

v2/pkg/engine/resolve/resolve.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -764,7 +764,7 @@ func (r *Resolver) shutdownTriggerSubscriptions(id uint64, shutdownMatcher func(
764764
// If a flush fails and at the same time the connection pool decided to close the connection and all subscriptions.
765765
// This would produce in two events to close the subscription. Both events could occur after another, and because
766766
// it is offloaded onto a separate goroutine, we might try to send events an event after the channel was closed
767-
// which would block the event loop.
767+
// which would block the event loop forever.
768768
case s.workChan <- func() {
769769
// We put the complete handshake to the work channel of the subscription
770770
// to ensure that it is the last message that is sent to the client.

0 commit comments

Comments
 (0)