Increased timeout for SEARCH_QDN_RESOURCES from 10 to 30 seconds.

This commit is contained in:
CalDescent 2023-07-28 21:47:29 +01:00
parent 811b647c88
commit f7e1f2fca8

View File

@ -448,6 +448,10 @@ function getDefaultTimeout(action) {
// User may take a long time to accept/deny the popup
return 60 * 60 * 1000;
case "SEARCH_QDN_RESOURCES":
// Searching for data can be slow, especially when metadata and statuses are also being included
return 30 * 1000;
case "FETCH_QDN_RESOURCE":
// Fetching data can take a while, especially if the status hasn't been checked first
return 60 * 1000;