Skip to content

Commit

Permalink
Fix intialization issue with closeSignal channel
Browse files Browse the repository at this point in the history
  • Loading branch information
alinz committed May 2, 2024
1 parent f719514 commit 53ea1cd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -574,6 +574,7 @@ func New(ctx context.Context, opts ...Opt) (*Handler, error) {
h := &Handler{
consumersEventsMap: NewConsumersEventsMap(),
actions: NewActions(conf.workerBufferSize),
closeSignal: make(chan struct{}),
}

go h.processActions()
Expand Down

0 comments on commit 53ea1cd

Please sign in to comment.