Other: QA build checks for update every 5 minutes

This commit is contained in:
Jakub
2021-02-24 20:30:17 +01:00
parent 22a6fcd87f
commit 2beb0d298e
3 changed files with 57 additions and 1 deletions

View File

@ -139,7 +139,7 @@ func run(b *base.Base, c *cli.Context) error { // nolint[funlen]
// Watch for updates routine
go func() {
ticker := time.NewTicker(time.Hour)
ticker := time.NewTicker(constants.UpdateCheckInterval)
for {
checkAndHandleUpdate(b.Updater, f, b.Settings.GetBool(settings.AutoUpdateKey))