Skip to content

Commit

Permalink
remove retry if exception is raised
Browse files Browse the repository at this point in the history
  • Loading branch information
antbaez9 committed Aug 13, 2024
1 parent 321a455 commit 00f42e3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions distributask/distributask.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
"""
Expand Down

0 comments on commit 00f42e3

Please sign in to comment.