rattail-tempmon/rattail_tempmon
Lance Edgar b4c52319c6 Make client more tolerant of database restart
note that a retry is *not* attempted within a given "take readings" run.
rather, client will consider that full readings take to have failed, if any
part of it fails.

but then we keep track of type/amount of some (database connection) failures,
and will suppress logging the full error for first 3 attempts.  in practice
this lets us recover from simple database restarts, and if database becomes
truly unavailable we'll hear about it shortly.

any other type of error is immediately logged on first failure.
2018-10-07 18:47:02 -05:00
..
db Improve docstrings for some model attributes 2018-10-06 17:39:54 -05:00
hotcooler Add rattail export-hotcooler command, for initial hotcooler support 2017-04-01 18:30:31 -05:00
templates/mail Include client key in disabled probe list email 2018-09-11 18:42:00 -05:00
__init__.py Switch license to GPL v3 (no longer Affero) 2017-07-06 23:38:50 -05:00
_version.py Update changelog 2018-10-04 19:59:14 -05:00
client.py Make client more tolerant of database restart 2018-10-07 18:47:02 -05:00
commands.py Add problem report for disabled clients/probes 2017-11-18 22:12:40 -06:00
config.py Switch license to GPL v3 (no longer Affero) 2017-07-06 23:38:50 -05:00
emails.py Include client key in disabled probe list email 2018-09-11 18:42:00 -05:00
problems.py Add Client.archived flag, ignore archived for "disabled probes" check 2018-09-28 12:21:21 -05:00
server.py Make server more tolerant of database restart 2018-10-07 18:16:18 -05:00