mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 19:01:49 +00:00
Change lock type to write lock in eventBroadcasterImpl
This commit is contained in:
parent
314264aeaf
commit
94af465819
@ -59,7 +59,7 @@ type eventKey struct {
|
||||
|
||||
type eventBroadcasterImpl struct {
|
||||
*watch.Broadcaster
|
||||
mu sync.RWMutex
|
||||
mu sync.Mutex
|
||||
eventCache map[eventKey]*v1beta1.Event
|
||||
sleepDuration time.Duration
|
||||
sink EventSink
|
||||
|
Loading…
Reference in New Issue
Block a user