add extra logging and tune timeout settings for cloud (#167)

* chore(config): merge userConfig with defaultConfig and add a lock

* chore(cloud): add extra logging and tune timeout settings
This commit is contained in:
Aveline
2025-02-18 17:22:03 +01:00
committed by GitHub
parent 69461140e3
commit 591d512b11
4 changed files with 55 additions and 18 deletions

View File

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