Skip to content

Commit

Permalink
Merge pull request #1596 from Bidaya0/fix/celery-connection-error
Browse files Browse the repository at this point in the history
fix: celery connection error
  • Loading branch information
Bidaya0 authored Jul 12, 2023
2 parents b933930 + fa92c6a commit e6a6b7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dongtai_conf/celery.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
configs['task_always_eager'] = True if os.getenv(
"CELERY_EAGER_TEST") == "TRUE" else False
configs['task_acks_on_failure_or_timeout'] = True
configs['broker_connection_retry_on_startup'] = False
configs['broker_channel_error_retry'] = True
configs['broker_connection_max_retries'] = 0 # it means retry forever
configs[
'broker_pool_limit'] = 1000 # to forbid contention can arise when using gevent.
Expand Down

0 comments on commit e6a6b7b

Please sign in to comment.