fix: Adding SHUFFLE_APP_SDK_TIMEOUT

This commit is contained in:
Aditya
2023-11-03 03:35:36 +05:30
parent 96eeef2b3e
commit 8edd395ff6
2 changed files with 7 additions and 0 deletions
+6
View File
@@ -3519,6 +3519,12 @@ class AppBase:
if self.action["app_name"].lower() == "shuffle tools":
timeout = 55
timeout_env = os.getenv("SHUFFLE_APP_SDK_TIMEOUT", timeout)
try:
timeout = int(timeout_env)
except Exception as e:
self.logger.info(f"[WARNING] Failed parsing timeout to int: {e}")
#timeout = 30
try: