mirror of
https://github.com/Ed1s0nZ/CyberStrikeAI.git
synced 2026-09-09 03:08:56 +02:00
9 lines
278 B
Go
9 lines
278 B
Go
package handler
|
|
|
|
import "sync"
|
|
|
|
// configFileMu serializes complete read-modify-write transactions across
|
|
// handlers that share config.yaml. Per-handler locks cannot prevent lost
|
|
// updates when another settings page saves a different YAML section.
|
|
var configFileMu sync.Mutex
|