mirror of
https://github.com/GSA/notifications-api.git
synced 2026-08-11 09:27:56 -04:00
Setup celery config
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import os
|
||||
from datetime import timedelta
|
||||
|
||||
|
||||
class Config(object):
|
||||
@@ -26,7 +25,7 @@ class Config(object):
|
||||
'region': 'eu-west-1',
|
||||
'polling_interval': 10, # 1 second
|
||||
'visibility_timeout': 3600, # 1 hour
|
||||
'queue_name_prefix': 'NOTIFY-CELERY-TEST-'
|
||||
'queue_name_prefix': 'preview'
|
||||
}
|
||||
CELERY_ENABLE_UTC = True,
|
||||
CELERY_TIMEZONE = 'Europe/London'
|
||||
|
||||
Reference in New Issue
Block a user