Skip to content

Commit

Permalink
increase caching of github 404 from 10min to 1h
Browse files Browse the repository at this point in the history
  • Loading branch information
dguendisch committed Dec 3, 2020
1 parent e4d5b68 commit c8d55bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/testmachinery/ghcache/ghcache.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func AddFlags(flagset *flag.FlagSet) *config.GitHubCache {
"Path directory that should be used to cache github requests")
flagset.IntVar(&internalConfig.CacheDiskSizeGB, "github-cache-size", 1,
"Size of the github cache in GB")
flagset.IntVar(&internalConfig.MaxAgeSeconds, "github-cache-max-age", 600,
flagset.IntVar(&internalConfig.MaxAgeSeconds, "github-cache-max-age", 3600,
"Maximum age of a failed github response in seconds")
return internalConfig
}

0 comments on commit c8d55bc

Please sign in to comment.