From 2438a0016caf4638807e702823d0a03b5b8708b4 Mon Sep 17 00:00:00 2001 From: Ivan Zarea Date: Thu, 5 Sep 2024 11:34:08 +0200 Subject: [PATCH] fix: increased the default functions timeout to 30s (#6804) --- 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