feat: 离线License批量删除;同步循环加固(启动即跑/pending自动握手/防重入/panic恢复,移至main启动);同步时间显示到秒
This commit is contained in:
1 parent
30b87dec62
commit
252ae14aef
5 files changed
+79
-11
No files matched your search
@@ -96,9 +96,6 @@ func SetupRouter(db *gorm.DB, cfg *config.Config) *gin.Engine {
|
||||
settingController := setting.NewSettingController(db)
|
||||
syncController := synccontroller.NewController(db, cfg)
|
||||
|
||||
// 启动节点定时双向同步(宽松节奏,默认 10 分钟) // Logan.Li
|
||||
syncController.Svc().StartSyncLoop(cfg.SyncIntervalMinutes)
|
||||
|
||||
api := r.Group("/api")
|
||||
{
|
||||
// ============ 节点互联(对端调用,HMAC 签名认证,非 JWT) ============
|
||||
|
||||
Reference in new issue
Block a user