fix: add retries

This commit is contained in:
Boris Arzentar 2025-07-08 10:26:06 +02:00
parent 68adf6877b
commit a4a2742c52
No known key found for this signature in database
GPG key ID: D5CC274C784807B7
3 changed files with 3 additions and 0 deletions

View file

@ -25,6 +25,7 @@ if modal:
from distributed.modal_image import image
@app.function(
retries=3,
image=image,
timeout=86400,
max_containers=50,

View file

@ -40,6 +40,7 @@ def is_deadlock_error(error):
@app.function(
retries=3,
image=image,
timeout=86400,
max_containers=5,

View file

@ -38,6 +38,7 @@ def is_deadlock_error(error):
@app.function(
retries=3,
image=image,
timeout=86400,
max_containers=5,