Skip to content

Commit

Permalink
feat: adds CELERY_BROKER_TRANSPORT_OPTIONS
Browse files Browse the repository at this point in the history
which can be configured from the lms/studio environment
  • Loading branch information
pomegranited committed Aug 28, 2021
1 parent 3bd3d1e commit 3c1a43e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions cms/envs/production.py
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,7 @@ def get_env_setting(setting):
BROKER_TRANSPORT_OPTIONS = {
'fanout_patterns': True,
'fanout_prefix': True,
**ENV_TOKENS.get('CELERY_BROKER_TRANSPORT_OPTIONS', {})
}

# Message expiry time in seconds
Expand Down
1 change: 1 addition & 0 deletions lms/envs/production.py
Original file line number Diff line number Diff line change
Expand Up @@ -519,6 +519,7 @@ def get_env_setting(setting):
BROKER_TRANSPORT_OPTIONS = {
'fanout_patterns': True,
'fanout_prefix': True,
**ENV_TOKENS.get('CELERY_BROKER_TRANSPORT_OPTIONS', {})
}

# Block Structures
Expand Down

0 comments on commit 3c1a43e

Please sign in to comment.