From f9925c0337d60f859e6011cfc10bf74a021d54fa Mon Sep 17 00:00:00 2001 From: jelveh Date: Sat, 3 Jan 2026 20:02:08 -0800 Subject: [PATCH] Increase `PENDING_QUERY_TTL` to 5 seconds --- src/backend/src/helpers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/src/helpers.js b/src/backend/src/helpers.js index 36ef53644..0b977d4b6 100644 --- a/src/backend/src/helpers.js +++ b/src/backend/src/helpers.js @@ -36,7 +36,7 @@ const tmp_provide_services = async ss => { }; // TTL for pending get_app queries (request coalescing) -const PENDING_QUERY_TTL = 2; // seconds +const PENDING_QUERY_TTL = 5; // seconds async function is_empty (dir_uuid) { /** @type BaseDatabaseAccessService */