Remove redundant polling_interval setting

This appeared without explanation in [1], but it's the same as the
default value [2] so we don't need to specify it - doing so gives
the impression we made a decision, but that's not clear here.

[1]: https://github.com/alphagov/notifications-api/pull/2142/files#diff-84f1a9419471e289c6b6e2b0209b329e20df6cef81d1f7f0a193ddc2fc6ad69dR153
[2]: https://docs.celeryproject.org/en/stable/getting-started/backends-and-brokers/sqs.html#polling-interval
This commit is contained in:
Ben Thorner
2021-10-27 16:59:34 +01:00
parent 60799399ab
commit d0550533a7

View File

@@ -191,7 +191,6 @@ class Config(object):
'broker_url': 'sqs://',
'broker_transport_options': {
'region': AWS_REGION,
'polling_interval': 1, # 1 second
'visibility_timeout': 310,
'queue_name_prefix': NOTIFICATION_QUEUE_PREFIX,
},