mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-01-20 07:19:17 +01:00
Fixed a typo in the FastQueue mutex comment (#6514)
### Describe Your Changes
Fixed a small typo in a comment about the mutex inside the FastQueue
struct
### Checklist
The following checks are **mandatory**:
- [x] My change adheres [VictoriaMetrics contributing
guidelines](https://docs.victoriametrics.com/contributing/).
(cherry picked from commit d236604d39
)
This commit is contained in:
parent
d5224f3363
commit
a7266785ce
@ -15,7 +15,7 @@ import (
|
|||||||
//
|
//
|
||||||
// It falls back to sending data via file when readers don't catch up with writers.
|
// It falls back to sending data via file when readers don't catch up with writers.
|
||||||
type FastQueue struct {
|
type FastQueue struct {
|
||||||
// my protects the state of FastQueue.
|
// mu protects the state of FastQueue.
|
||||||
mu sync.Mutex
|
mu sync.Mutex
|
||||||
|
|
||||||
// cond is used for notifying blocked readers when new data has been added
|
// cond is used for notifying blocked readers when new data has been added
|
||||||
|
Loading…
Reference in New Issue
Block a user