Add a defined timeout on all HTTP calls in notification methods

This commit is contained in:
Joseph Schorr 2016-11-08 18:20:38 -05:00
parent 83e8d62bea
commit 7e78406112
2 changed files with 10 additions and 4 deletions

View file

@ -291,6 +291,9 @@ class DefaultConfig(object):
# How often the Garbage Collection worker runs.
GARBAGE_COLLECTION_FREQUENCY = 30 # seconds
# How long notifications will try to send before timing out.
NOTIFICATION_SEND_TIMEOUT = 10
# Security scanner
FEATURE_SECURITY_SCANNER = False
FEATURE_SECURITY_NOTIFICATIONS = False