Significantly reduce default Redis command timeout
This commit is contained in:
parent
ff9ad4bd1d
commit
d884700b61
|
@ -20,7 +20,7 @@ public class RedisClusterConfiguration {
|
|||
|
||||
@JsonProperty
|
||||
@NotNull
|
||||
private Duration timeout = Duration.ofMillis(3_000);
|
||||
private Duration timeout = Duration.ofSeconds(1);
|
||||
|
||||
@JsonProperty
|
||||
@NotNull
|
||||
|
|
|
@ -20,7 +20,7 @@ public class RedisConfiguration {
|
|||
|
||||
@JsonProperty
|
||||
@NotNull
|
||||
private Duration timeout = Duration.ofSeconds(10);
|
||||
private Duration timeout = Duration.ofSeconds(1);
|
||||
|
||||
@JsonProperty
|
||||
@NotNull
|
||||
|
|
Loading…
Reference in New Issue