mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2026-03-16 17:54:07 +01:00
fix cli config loading and correct comment (#3618)
closes #3553 https://github.com/woodpecker-ci/woodpecker/pull/3518#discussion_r1542662674
This commit is contained in:
@@ -57,7 +57,7 @@ func After(_ *cli.Context) error {
|
||||
if waitForUpdateCheck != nil {
|
||||
select {
|
||||
case <-waitForUpdateCheck.Done():
|
||||
// When the actual command already finished, we still wait 250ms for the update check to finish
|
||||
// When the actual command already finished, we still wait 500ms for the update check to finish
|
||||
case <-time.After(time.Millisecond * 500):
|
||||
log.Debug().Msg("Update check stopped due to timeout")
|
||||
cancelWaitForUpdate(errors.New("update check timeout"))
|
||||
|
||||
Reference in New Issue
Block a user