From 655073c524d6b53f8bf591cd6d62fc8fb5218f50 Mon Sep 17 00:00:00 2001 From: QuickMythril Date: Thu, 25 May 2023 04:41:03 -0400 Subject: [PATCH] Added 2m timeout for GET_WALLET_BALANCE action --- src/main/resources/q-apps/q-apps.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/resources/q-apps/q-apps.js b/src/main/resources/q-apps/q-apps.js index dae20e5d..d26b7791 100644 --- a/src/main/resources/q-apps/q-apps.js +++ b/src/main/resources/q-apps/q-apps.js @@ -467,6 +467,10 @@ function getDefaultTimeout(action) { // Allow extra time for other actions that create transactions, even if there is no PoW return 5 * 60 * 1000; + case "GET_WALLET_BALANCE": + // Getting a wallet balance can take a while, if there are many transactions + return 2 * 60 * 1000; + default: break; }