Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/api/internal/sandbox/storage/redis/notifier.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ type Notifier struct {

// Subscribe registers interest in routingKey. The returned channel is
// signaled (non-blocking, drop-on-full) whenever a matching message
// arrives on the shared notify channel. The caller MUST invoke cleanup
// when done to avoid a memory leak.
// arrives on the shared notify channel. The caller MUST invoke the
// returned cleanup function when done to avoid a memory leak.
func (n *Notifier) Subscribe(routingKey string) (<-chan struct{}, func()) {
return n.sub.subscribe(routingKey)
}
Expand Down