Skip to content

Commit

Permalink
fix cache flag
Browse files Browse the repository at this point in the history
  • Loading branch information
eds000n committed Mar 16, 2023
1 parent eb9d928 commit 0a99a29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,7 @@ func Run() (returnErr error) {
if rps, _ := GlobalFlags.GetInt("rsh-load-rate"); rps > 0 {
viper.Set("rsh-load-rate", rps)
// doesn't make sense to flood with requests and obtain a cached response
viper.Set("rsh-no-cache", false)
viper.Set("rsh-no-cache", true)
}
profile, _ := GlobalFlags.GetString("rsh-profile")
viper.Set("rsh-profile", profile)
Expand Down

0 comments on commit 0a99a29

Please sign in to comment.