mirror of
https://github.com/Qortal/qortal.git
synced 2025-05-04 00:37:51 +00:00
Added 2m timeout for GET_WALLET_BALANCE action
This commit is contained in:
parent
c8f3b6918f
commit
655073c524
@ -467,6 +467,10 @@ function getDefaultTimeout(action) {
|
|||||||
// Allow extra time for other actions that create transactions, even if there is no PoW
|
// Allow extra time for other actions that create transactions, even if there is no PoW
|
||||||
return 5 * 60 * 1000;
|
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:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user