Skip to content

Commit

Permalink
Significantly reduce default Redis command timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
jon-signal committed Feb 15, 2024
1 parent ff9ad4b commit d884700
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class RedisClusterConfiguration {

@JsonProperty
@NotNull
private Duration timeout = Duration.ofMillis(3_000);
private Duration timeout = Duration.ofSeconds(1);

@JsonProperty
@NotNull
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class RedisConfiguration {

@JsonProperty
@NotNull
private Duration timeout = Duration.ofSeconds(10);
private Duration timeout = Duration.ofSeconds(1);

@JsonProperty
@NotNull
Expand Down

0 comments on commit d884700

Please sign in to comment.