Skip to content

Commit

Permalink
fix: cronjob won't work for a new instance (#7119)
Browse files Browse the repository at this point in the history
  • Loading branch information
klesh authored Mar 6, 2024
1 parent 3312088 commit b5a41a9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions backend/server/services/blueprint.go
Original file line number Diff line number Diff line change
Expand Up @@ -270,9 +270,7 @@ func ReloadBlueprints() (err errors.Error) {
return err
}
}
if len(blueprints) > 0 {
cronManager.Start()
}
cronManager.Start()
logger.Info("total %d blueprints were scheduled", len(blueprints))
return nil
}
Expand Down

0 comments on commit b5a41a9

Please sign in to comment.