Reduce polling_interval back to 1 second

This commit is contained in:
Rebecca Law
2016-03-02 14:04:03 +00:00
parent 0c4b34d65a
commit fde062ec7d

View File

@@ -29,7 +29,7 @@ class Config(object):
BROKER_URL = 'sqs://'
BROKER_TRANSPORT_OPTIONS = {
'region': 'eu-west-1',
'polling_interval': 120, # 1 second
'polling_interval': 1, # 1 second
'visibility_timeout': 60, # 60 seconds
'queue_name_prefix': os.environ['NOTIFICATION_QUEUE_PREFIX']+'-'
}