mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 11:21:47 +00:00
Merge pull request #78063 from tedyu/evt-lock
Change lock type to write lock in eventBroadcasterImpl
This commit is contained in:
commit
667c3ed94c
@ -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