Skip to content

Commit

Permalink
retorna max_retries e retry_delay da get_db_object
Browse files Browse the repository at this point in the history
  • Loading branch information
akaBotelho committed Oct 3, 2024
1 parent 84685dd commit 4317bd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pipelines/serpro/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def wait_sleeping(interval_seconds: int = 54000):
sleep(interval_seconds)


@task(checkpoint=False, max_retries=10, retry_delay=timedelta(seconds=300))
@task(checkpoint=False, max_retries=3, retry_delay=timedelta(seconds=20))
def get_db_object(secret_path="radar_serpro", environment: str = "dev"):
jar_path = get_secret(secret_path=secret_path, environment=environment)["jars"]

Expand Down

0 comments on commit 4317bd5

Please sign in to comment.