From f7e1f2fca876d5fa8074e8643070bb7dfb348808 Mon Sep 17 00:00:00 2001 From: CalDescent Date: Fri, 28 Jul 2023 21:47:29 +0100 Subject: [PATCH] Increased timeout for SEARCH_QDN_RESOURCES from 10 to 30 seconds. --- src/main/resources/q-apps/q-apps.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/resources/q-apps/q-apps.js b/src/main/resources/q-apps/q-apps.js index d26b7791..b638c621 100644 --- a/src/main/resources/q-apps/q-apps.js +++ b/src/main/resources/q-apps/q-apps.js @@ -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;