Added 2m timeout for GET_WALLET_BALANCE action

This commit is contained in:
QuickMythril 2023-05-25 04:41:03 -04:00
parent c8f3b6918f
commit 655073c524

View File

@ -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;
}