Browse Source

Increased default timeout for GET_USER_ACCOUNT from 30 seconds to 1 hour, to give the user more time to grant permissions.

qdn-on-chain-data
CalDescent 2 years ago
parent
commit
8e2dd60ea0
  1. 4
      src/main/resources/q-apps/q-apps.js

4
src/main/resources/q-apps/q-apps.js

@ -384,6 +384,10 @@ function getDefaultTimeout(action) {
if (action != null) {
// Some actions need longer default timeouts, especially those that create transactions
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":
// Fetching data can take a while, especially if the status hasn't been checked first
return 60 * 1000;

Loading…
Cancel
Save