Skip to content

Commit

Permalink
Change lock type
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuqi-lucas committed Sep 17, 2024
1 parent e00a522 commit d520339
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/metrics/queue.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ type QueueMetrics struct {
resourceMetricsSubsystem *prometheus.GaugeVec
// Track known resource types
knownResourceTypes map[string]struct{}
lock locking.RWMutex
lock locking.Mutex
}

// InitQueueMetrics to initialize queue metrics
Expand Down

0 comments on commit d520339

Please sign in to comment.