jinnrry hace 2 años
padre
commit
c7cedae9c4
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      server/cron_server/ssl_update.go

+ 1 - 1
server/cron_server/ssl_update.go

@@ -13,7 +13,7 @@ var expiredTime time.Time
 func Start() {
 
 	// 第一次启动,等待到初始化完成
-	if config.Instance == nil {
+	if config.Instance == nil || config.IsInit == false {
 		for {
 			time.Sleep(1 * time.Minute)
 			if config.Instance != nil && config.IsInit {