mirror of
https://github.com/coredns/coredns.git
synced 2026-04-07 12:35:33 -04:00
fix(file): protect Zone.Expired with mutex (#7940)
This commit is contained in:
@@ -140,7 +140,9 @@ Restart:
|
||||
if !retryActive {
|
||||
break
|
||||
}
|
||||
z.Lock()
|
||||
z.Expired = true
|
||||
z.Unlock()
|
||||
|
||||
case <-retryTicker.C:
|
||||
if !retryActive {
|
||||
|
||||
Reference in New Issue
Block a user