mirror of https://github.com/prometheus/prometheus
fix typo in queue_manager.go comment (#5294)
Signed-off-by: tariqibrahim <tariq181290@gmail.com>pull/5296/head
parent
67da8e7b46
commit
ab8e9b7423
|
@ -529,7 +529,7 @@ func (s *shards) start(n int) {
|
|||
// stop the shards; subsequent call to enqueue will return false.
|
||||
func (s *shards) stop() {
|
||||
// Attempt a clean shutdown, but only wait flushDeadline for all the shards
|
||||
// to cleanly exit. As we're doing RPCs, enqueue can block indefinately.
|
||||
// to cleanly exit. As we're doing RPCs, enqueue can block indefinitely.
|
||||
// We must be able so call stop concurrently, hence we can only take the
|
||||
// RLock here.
|
||||
s.mtx.RLock()
|
||||
|
|
Loading…
Reference in New Issue