mirror of
https://github.com/kubernetes/client-go.git
synced 2025-06-22 21:27:07 +00:00
Merge pull request #78063 from tedyu/evt-lock
Change lock type to write lock in eventBroadcasterImpl Kubernetes-commit: 667c3ed94cdf52fb7dd26cfa9de7759df639c7d2
This commit is contained in:
commit
09484b1d58
@ -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