Skip to content

Commit

Permalink
bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Jinnrry committed Nov 23, 2023
1 parent 74e5acb commit c7cedae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/cron_server/ssl_update.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit c7cedae

Please sign in to comment.