mirror of
https://github.com/signalapp/Signal-Server
synced 2026-04-20 21:58:02 +01:00
Significantly reduce default Redis command timeout
This commit is contained in:
committed by
Jon Chambers
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
|
||||
|
||||
Reference in New Issue
Block a user