mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-02 05:36:53 +00:00
Timeout sendNextMessagePage after 5 minutes
This commit is contained in:
1 parent
278b4e810d
commit
3e777df86c
2 files changed
+42
-11
No files matched your search
+3
@@ -66,6 +66,8 @@ class WebSocketConnectionIntegrationTest {
|
||||
@RegisterExtension
|
||||
static final RedisClusterExtension REDIS_CLUSTER_EXTENSION = RedisClusterExtension.builder().build();
|
||||
|
||||
private static final int SEND_FUTURES_TIMEOUT_MILLIS = 100;
|
||||
|
||||
private ExecutorService executorService;
|
||||
private MessagesDynamoDb messagesDynamoDb;
|
||||
private MessagesCache messagesCache;
|
||||
@@ -102,6 +104,7 @@ class WebSocketConnectionIntegrationTest {
|
||||
new AuthenticatedAccount(() -> new Pair<>(account, device)),
|
||||
device,
|
||||
webSocketClient,
|
||||
SEND_FUTURES_TIMEOUT_MILLIS,
|
||||
retrySchedulingExecutor);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user