mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-03 09:51:11 -05:00
Update visibility timeout on staging and live
This commit is contained in:
@@ -25,6 +25,6 @@ class Live(Config):
|
|||||||
BROKER_TRANSPORT_OPTIONS = {
|
BROKER_TRANSPORT_OPTIONS = {
|
||||||
'region': 'eu-west-1',
|
'region': 'eu-west-1',
|
||||||
'polling_interval': 1, # 1 second
|
'polling_interval': 1, # 1 second
|
||||||
'visibility_timeout': 60, # 60 seconds
|
'visibility_timeout': 14410, # 60 seconds
|
||||||
'queue_name_prefix': os.environ['LIVE_NOTIFICATION_QUEUE_PREFIX'] + '-'
|
'queue_name_prefix': os.environ['LIVE_NOTIFICATION_QUEUE_PREFIX'] + '-'
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -21,6 +21,6 @@ class Staging(Config):
|
|||||||
BROKER_TRANSPORT_OPTIONS = {
|
BROKER_TRANSPORT_OPTIONS = {
|
||||||
'region': 'eu-west-1',
|
'region': 'eu-west-1',
|
||||||
'polling_interval': 1, # 1 second
|
'polling_interval': 1, # 1 second
|
||||||
'visibility_timeout': 60, # 60 seconds
|
'visibility_timeout': 14410, # 60 seconds
|
||||||
'queue_name_prefix': os.environ['STAGING_NOTIFICATION_QUEUE_PREFIX'] + '-'
|
'queue_name_prefix': os.environ['STAGING_NOTIFICATION_QUEUE_PREFIX'] + '-'
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user