From 00f42e33b9da827a5026f98849096cf1703b8377 Mon Sep 17 00:00:00 2001 From: acbaez9 <97056049+acbaez9@users.noreply.github.com> Date: Tue, 13 Aug 2024 11:02:33 -0700 Subject: [PATCH] remove retry if exception is raised --- distributask/distributask.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/distributask/distributask.py b/distributask/distributask.py index 6e0e6ae..192f74f 100644 --- a/distributask/distributask.py +++ b/distributask/distributask.py @@ -231,9 +231,8 @@ def call_function_task(self, func_name: str, args_json: str) -> any: return result except Exception as e: self.log(f"Error in call_function_task: {str(e)}", "error") - self.call_function_task.retry(exc=e) + # self.call_function_task.retry(exc=e) - return result def register_function(self, func: callable) -> callable: """