Skip to content

Commit 28218f0

Browse files
committed
revert flags
1 parent 75f6a4d commit 28218f0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/flags/flags.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ func init() {
152152
if experiments.RemoteTaskfiles.Enabled() {
153153
pflag.BoolVar(&Download, "download", false, "Downloads a cached version of a remote Taskfile.")
154154
pflag.BoolVar(&Offline, "offline", getConfig(config, func() *bool { return config.Remote.Offline }, false), "Forces Task to only use local or cached Taskfiles.")
155-
pflag.DurationVar(&Timeout, "timeout", getConfig(config, func() *time.Duration { return config.Remote.Timeout }, time.Minute*10), "Timeout for downloading remote Taskfiles.")
155+
pflag.DurationVar(&Timeout, "timeout", getConfig(config, func() *time.Duration { return config.Remote.Timeout }, time.Second*10), "Timeout for downloading remote Taskfiles.")
156156
pflag.BoolVar(&ClearCache, "clear-cache", false, "Clear the remote cache.")
157157
pflag.DurationVar(&CacheExpiryDuration, "expiry", getConfig(config, func() *time.Duration { return config.Remote.CacheExpiry }, 0), "Expiry duration for cached remote Taskfiles.")
158158
}

0 commit comments

Comments
 (0)