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/).
This commit is contained in:
Slava Bobik 2024-06-20 12:30:36 +03:00 committed by GitHub
parent 7229dd8c33
commit d236604d39
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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