[feat] delayStart and autoReset #718

This commit is contained in:
Alireza Ahmadi
2026-03-08 23:18:08 +01:00
parent f4e08c8ae3
commit 6ba547331e
4 changed files with 115 additions and 12 deletions
+5 -5
View File
@@ -14,12 +14,12 @@ import (
)
var (
LastUpdate int64
corePtr *core.Core
startCoreMu sync.Mutex
LastUpdate int64
corePtr *core.Core
startCoreMu sync.Mutex
startCoreInProgress bool
lastStartFailTime time.Time
startCooldown = 15 * time.Second
lastStartFailTime time.Time
startCooldown = 15 * time.Second
)
type ConfigService struct {