Limit number of failed session write attempts for activity pinger

* Default is 5 attempts, configurable manually in the config file.
This commit is contained in:
JonnyWong16 2016-05-13 22:48:24 -07:00
parent baed101ef1
commit b47f542df7
3 changed files with 29 additions and 3 deletions

View file

@ -374,6 +374,7 @@ _CONFIG_DEFINITIONS = {
'REFRESH_LIBRARIES_ON_STARTUP': (int, 'Monitoring', 1),
'REFRESH_USERS_INTERVAL': (int, 'Monitoring', 12),
'REFRESH_USERS_ON_STARTUP': (int, 'Monitoring', 1),
'SESSION_DB_WRITE_ATTEMPTS': (int, 'Monitoring', 5),
'SLACK_ENABLED': (int, 'Slack', 0),
'SLACK_HOOK': (str, 'Slack', ''),
'SLACK_CHANNEL': (str, 'Slack', ''),