Skip to content

Commit

Permalink
PMM-12761 fix race condition for services. (#2672)
Browse files Browse the repository at this point in the history
  • Loading branch information
BupycHuk authored Dec 5, 2023
1 parent 1d3977c commit 839b682
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion managed/services/ha/services.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func newServices() *services {
return &services{
all: make(map[string]LeaderService),
running: make(map[string]LeaderService),
refresh: make(chan struct{}),
refresh: make(chan struct{}, 1),
l: logrus.WithField("component", "ha-services"),
}
}
Expand Down

0 comments on commit 839b682

Please sign in to comment.