Increase cloudwatch send timeout to reduce how often we hit the API

This commit is contained in:
Joseph Schorr 2017-02-01 13:09:00 -05:00
parent b407f88a26
commit c9bb132339

View file

@ -13,7 +13,7 @@ MAX_BATCH_METRICS = 20
# Sleep for this much time between failed send requests.
# This prevents hammering cloudwatch when it's not available.
FAILED_SEND_SLEEP_SECS = 5
FAILED_SEND_SLEEP_SECS = 15
def start_cloudwatch_sender(metrics, app):
"""