Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion pictures/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,9 @@
pass
else:

@dramatiq.actor(queue_name=conf.get_settings().QUEUE_NAME)
@dramatiq.actor(

Check warning on line 56 in pictures/tasks.py

View check run for this annotation

Codecov / codecov/patch

pictures/tasks.py#L56

Added line #L56 was not covered by tests
queue_name=conf.get_settings().QUEUE_NAME, throws=(FileNotFoundError,)
)
def process_picture_with_dramatiq(
storage: tuple[str, list, dict],
file_name: str,
Expand Down Expand Up @@ -87,6 +89,7 @@
@shared_task(
ignore_results=True,
retry_backoff=True,
dont_autoretry_for=(FileNotFoundError,),
)
def process_picture_with_celery(
storage: tuple[str, list, dict],
Expand Down