mirror of
https://github.com/GSA/notifications-api.git
synced 2026-07-22 00:49:57 -04:00
Celery task to send the sms verify code.
Each celery task will use it's own queue.
This commit is contained in:
@@ -25,7 +25,7 @@ class Config(object):
|
||||
'region': 'eu-west-1',
|
||||
'polling_interval': 1, # 1 second
|
||||
'visibility_timeout': 60, # 60 seconds
|
||||
'queue_name_prefix': os.environ['NOTIFICATION_QUEUE_PREFIX']
|
||||
'queue_name_prefix': os.environ['NOTIFICATION_QUEUE_PREFIX']+'-'
|
||||
}
|
||||
CELERY_ENABLE_UTC = True,
|
||||
CELERY_TIMEZONE = 'Europe/London'
|
||||
|
||||
Reference in New Issue
Block a user