From 22e6db08c5dc6da6946082326ee07a77eb2139f7 Mon Sep 17 00:00:00 2001 From: Frikky Date: Tue, 21 May 2024 11:53:47 +0200 Subject: [PATCH] SDK build --- backend/app_sdk/app_base.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/app_sdk/app_base.py b/backend/app_sdk/app_base.py index d8482fed..995ac7b6 100755 --- a/backend/app_sdk/app_base.py +++ b/backend/app_sdk/app_base.py @@ -3687,6 +3687,7 @@ class AppBase: self.logger.info(f"[ERROR] Failed parsing timeout to int: {e}") #timeout = 30 + self.logger.info("[DEBUG] Running function '%s' with timeout %d" % (action["name"], timeout)) try: executor = concurrent.futures.ThreadPoolExecutor() @@ -3710,7 +3711,7 @@ class AppBase: except concurrent.futures.TimeoutError as e: newres = json.dumps({ "success": False, - "reason": "Timeout error within %d seconds (2). This happens if we can't reach or use the API you're trying to use within the time limit. Configure SHUFFLE_APP_SDK_TIMEOUT=100 in Orborus to increase it to 100 seconds. Not changeable for cloud." % timeout, + "reason": "Timeout error (2) within %d seconds (2). This happens if we can't reach or use the API you're trying to use within the time limit. Configure SHUFFLE_APP_SDK_TIMEOUT=100 in Orborus to increase it to 100 seconds. Not changeable for cloud." % timeout, }) break