mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-16 18:22:17 -05:00
Reduce polling_interval back to 1 second
This commit is contained in:
@@ -29,7 +29,7 @@ class Config(object):
|
|||||||
BROKER_URL = 'sqs://'
|
BROKER_URL = 'sqs://'
|
||||||
BROKER_TRANSPORT_OPTIONS = {
|
BROKER_TRANSPORT_OPTIONS = {
|
||||||
'region': 'eu-west-1',
|
'region': 'eu-west-1',
|
||||||
'polling_interval': 120, # 1 second
|
'polling_interval': 1, # 1 second
|
||||||
'visibility_timeout': 60, # 60 seconds
|
'visibility_timeout': 60, # 60 seconds
|
||||||
'queue_name_prefix': os.environ['NOTIFICATION_QUEUE_PREFIX']+'-'
|
'queue_name_prefix': os.environ['NOTIFICATION_QUEUE_PREFIX']+'-'
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user