Skip to content

Commit

Permalink
command/flag: add 3 retries by default
Browse files Browse the repository at this point in the history
  • Loading branch information
mmatczuk committed Jan 10, 2022
1 parent 87dd689 commit 9b689ea
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pkg/command/flag/task.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@ type TaskBase struct {

func MakeTaskBase() TaskBase {
return TaskBase{
timezone: Timezone{timeutc.LocalName},
retryWait: DurationWithDefault(10 * time.Minute),
timezone: Timezone{timeutc.LocalName},
numRetries: 3,
retryWait: DurationWithDefault(10 * time.Minute),
}
}

Expand Down

0 comments on commit 9b689ea

Please sign in to comment.