Skip to content

Commit 0a99a29

Browse files
committed
fix cache flag
1 parent eb9d928 commit 0a99a29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/cli.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -750,7 +750,7 @@ func Run() (returnErr error) {
750750
if rps, _ := GlobalFlags.GetInt("rsh-load-rate"); rps > 0 {
751751
viper.Set("rsh-load-rate", rps)
752752
// doesn't make sense to flood with requests and obtain a cached response
753-
viper.Set("rsh-no-cache", false)
753+
viper.Set("rsh-no-cache", true)
754754
}
755755
profile, _ := GlobalFlags.GetString("rsh-profile")
756756
viper.Set("rsh-profile", profile)

0 commit comments

Comments
 (0)