From 98b218a84bb12689f4665a7fa6af6b28f531240a Mon Sep 17 00:00:00 2001 From: Ivan Zarea Date: Tue, 3 Sep 2024 15:19:19 +0200 Subject: [PATCH] fix: increased the default functions timeout to 30s --- src/utils/dev.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/dev.ts b/src/utils/dev.ts index 784a3cefefc..3d2fd51d335 100644 --- a/src/utils/dev.ts +++ b/src/utils/dev.ts @@ -91,7 +91,7 @@ const getSiteAccount = ({ accounts, siteInfo }) => { } // default 10 seconds for synchronous functions -const SYNCHRONOUS_FUNCTION_TIMEOUT = 10 +const SYNCHRONOUS_FUNCTION_TIMEOUT = 30 // default 15 minutes for background functions const BACKGROUND_FUNCTION_TIMEOUT = 900