Add a defined timeout on all HTTP calls in notification methods
This commit is contained in:
parent
83e8d62bea
commit
7e78406112
2 changed files with 10 additions and 4 deletions
|
@ -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
|
||||
|
|
Reference in a new issue