Skip to content

Commit

Permalink
Update pkg/stream/producer_unconfirmed.go
Browse files Browse the repository at this point in the history
Co-authored-by: Alberto Moretti <[email protected]>
  • Loading branch information
Gsantomaggio and hiimjako authored Jan 27, 2025
1 parent e90b093 commit 4ef5570
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/stream/producer_unconfirmed.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ func (u *unConfirmed) maybeUnLock() {
if len(u.messages) < u.maxSize {
logs.LogDebug("unConfirmed size: %d back to normal, producer unblocked", u.maxSize)
u.blockSignal.L.Lock()
u.blockSignal.Signal()
u.blockSignal.Broadcast()
u.blockSignal.L.Unlock()
}
}

0 comments on commit 4ef5570

Please sign in to comment.