Skip to content

Commit

Permalink
Tweak Celery config following 6.0 upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
sbidoul committed Jul 6, 2024
1 parent ab34a25 commit 8127d7b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/oca_github_bot/queue.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@

from . import config

app = celery.Celery(broker=config.BROKER_URI)
app = celery.Celery(
broker=config.BROKER_URI,
broker_connection_retry_on_startup=True,
broker_conn_retry=True,
)

getLogger = get_task_logger

Expand Down

0 comments on commit 8127d7b

Please sign in to comment.