Skip to content

Commit

Permalink
fix deadlock when Guppy request is cancelled on shutdown
Browse files Browse the repository at this point in the history
  • Loading branch information
dimkr committed Oct 7, 2024
1 parent d1c95fa commit 307f1ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion front/guppy/guppy.go
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ func (gl *Listener) ListenAndServe(ctx context.Context) error {
}()

sessions := make(map[string]chan []byte)
done := make(chan string, 1)
done := make(chan string, gl.Config.MaxGuppySessions)

loop:
for {
Expand Down

0 comments on commit 307f1ad

Please sign in to comment.