mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-02 17:31:14 -05:00
Merge pull request #1086 from alphagov/celery4
remove `sqs` from region - this is only needed in boto2
This commit is contained in:
@@ -13,7 +13,7 @@ class CeleryConfig:
|
|||||||
self.broker_url = config.get('BROKER_URL', 'sqs://')
|
self.broker_url = config.get('BROKER_URL', 'sqs://')
|
||||||
|
|
||||||
broker_transport_options = {
|
broker_transport_options = {
|
||||||
'region': 'sqs.eu-west-1',
|
'region': 'eu-west-1',
|
||||||
'polling_interval': 1, # 1 second
|
'polling_interval': 1, # 1 second
|
||||||
'visibility_timeout': 310,
|
'visibility_timeout': 310,
|
||||||
'queue_name_prefix': None
|
'queue_name_prefix': None
|
||||||
|
|||||||
Reference in New Issue
Block a user