chore(config): remove lock for LoadConfig

This commit is contained in:
Siyuan Miao 2025-02-17 19:54:04 +01:00
parent 074101fc78
commit c2d91e89d7
1 changed files with 1 additions and 3 deletions

View File

@ -47,10 +47,8 @@ var (
)
func LoadConfig() {
configLock.Lock()
defer configLock.Unlock()
if config != nil {
logger.Info("config already loaded, skipping")
return
}