Skip to content

Commit 70b5637

Browse files
committed
Timeout increased, as some requests take really long
1 parent b4a11ad commit 70b5637

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/keepassxc/Connection.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ private synchronized JSONObject getEncryptedResponseAndDecrypt(String action, by
271271
if (action.equals("associate")) {
272272
response = executorService.submit(new MessageConsumer(action, nonce)).get();
273273
} else {
274-
response = executorService.submit(new MessageConsumer(action, nonce)).get(1, TimeUnit.SECONDS);
274+
response = executorService.submit(new MessageConsumer(action, nonce)).get(5, TimeUnit.SECONDS);
275275
}
276276
} catch (TimeoutException toe) {
277277
throw new KeepassProxyAccessException("Timeout for action '" + action + "'");

0 commit comments

Comments
 (0)