Pēteris Caune
207b0f9048
Adding on_delete keywords, more to come.
8 years ago
Pēteris Caune
5a4c3ce8ea
Fix tests.
8 years ago
Pēteris Caune
8633a5a892
Check model supports cron-style schedule
8 years ago
Pēteris Caune
4f3365e235
Cleanup, handle "paused" state in email alerts and reports
8 years ago
Pēteris Caune
ce23d65ebf
Check.get_status() returns "up" also during grace period
9 years ago
Pēteris Caune
89d37f8202
Check.in_grace_period() should not blow up if last_ping is None
9 years ago
Pēteris Caune
63cc186fa3
Nicer slack messages.
9 years ago
Pēteris Caune
1e3285423f
Ping objects get "n" field, their serial numbers, used in "log page". "fillnpings" management command initially populates this field (it touches every ping so it takes time to complete).
Check.n_pings now stores the total number of pings the check has ever received. Running "prunepings" command doesn't affect this field. +a new "prunepingsslow" command which works in smaller chunks so is appropriate for initial pruning of a huge api_ping table.
9 years ago
Pēteris Caune
b9ae8d464c
Sort by id, not `created`, when pruning pings.
9 years ago
Pēteris Caune
7019325b48
Investigating Travis/mysql test failure
9 years ago
Pēteris Caune
940534e563
Test for check.prune_pings() method
9 years ago