mirror of
https://github.com/AsamK/signal-cli.git
synced 2026-05-24 14:14:31 +00:00
Compare commits
2 Commits
a03d17a9e4
...
aafb40fd94
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
aafb40fd94 | ||
|
|
7dc55eba81 |
@ -301,7 +301,7 @@ public class SignalDependencies {
|
||||
getLibSignalNetwork(),
|
||||
credentialsProvider,
|
||||
allowStories,
|
||||
healthMonitor), () -> true, timer, TimeUnit.SECONDS.toMillis(10));
|
||||
healthMonitor), () -> true, timer, TimeUnit.SECONDS.toMillis(30));
|
||||
healthMonitor.monitor(authenticatedSignalWebSocket);
|
||||
});
|
||||
}
|
||||
@ -316,7 +316,7 @@ public class SignalDependencies {
|
||||
getLibSignalNetwork(),
|
||||
null,
|
||||
allowStories,
|
||||
healthMonitor), () -> true, timer, TimeUnit.SECONDS.toMillis(10));
|
||||
healthMonitor), () -> true, timer, TimeUnit.SECONDS.toMillis(30));
|
||||
healthMonitor.monitor(unauthenticatedSignalWebSocket);
|
||||
});
|
||||
}
|
||||
|
||||
@ -204,7 +204,7 @@ public class SenderKeySharedStore {
|
||||
).formatted(TABLE_SENDER_KEY_SHARED);
|
||||
try (final var statement = connection.prepareStatement(sql)) {
|
||||
for (final var entry : newEntries) {
|
||||
statement.setString(1, entry.toString());
|
||||
statement.setString(1, entry.address());
|
||||
statement.setInt(2, entry.deviceId());
|
||||
statement.setBytes(3, UuidUtil.toByteArray(distributionId.asUuid()));
|
||||
statement.setLong(4, System.currentTimeMillis());
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user