mirror of
https://github.com/Qortal/qortal.git
synced 2025-04-23 19:37:51 +00:00
Increased default timeout for GET_USER_ACCOUNT from 30 seconds to 1 hour, to give the user more time to grant permissions.
This commit is contained in:
parent
d51f9368ef
commit
8e2dd60ea0
@ -384,6 +384,10 @@ function getDefaultTimeout(action) {
|
|||||||
if (action != null) {
|
if (action != null) {
|
||||||
// Some actions need longer default timeouts, especially those that create transactions
|
// Some actions need longer default timeouts, especially those that create transactions
|
||||||
switch (action) {
|
switch (action) {
|
||||||
|
case "GET_USER_ACCOUNT":
|
||||||
|
// User may take a long time to accept/deny the popup
|
||||||
|
return 60 * 60 * 1000;
|
||||||
|
|
||||||
case "FETCH_QDN_RESOURCE":
|
case "FETCH_QDN_RESOURCE":
|
||||||
// Fetching data can take a while, especially if the status hasn't been checked first
|
// Fetching data can take a while, especially if the status hasn't been checked first
|
||||||
return 60 * 1000;
|
return 60 * 1000;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user