From d236604d3908dbffa0477dfb32837375552e2259 Mon Sep 17 00:00:00 2001 From: Slava Bobik Date: Thu, 20 Jun 2024 12:30:36 +0300 Subject: [PATCH] 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/). --- lib/persistentqueue/fastqueue.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/persistentqueue/fastqueue.go b/lib/persistentqueue/fastqueue.go index 3c194f7ba..396d7a69b 100644 --- a/lib/persistentqueue/fastqueue.go +++ b/lib/persistentqueue/fastqueue.go @@ -15,7 +15,7 @@ import ( // // It falls back to sending data via file when readers don't catch up with writers. type FastQueue struct { - // my protects the state of FastQueue. + // mu protects the state of FastQueue. mu sync.Mutex // cond is used for notifying blocked readers when new data has been added