From 3d80676a34675e86c34185ea9ce7367b9fb35bf6 Mon Sep 17 00:00:00 2001 From: Yonas Yanfa Date: Mon, 3 May 2021 16:55:18 -0400 Subject: [PATCH] Add more information to the prunepings command. Add a reminder that 100 of the most recent pings were kept. --- hc/api/management/commands/prunepings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hc/api/management/commands/prunepings.py b/hc/api/management/commands/prunepings.py index 8b85dd99..9cdff68f 100644 --- a/hc/api/management/commands/prunepings.py +++ b/hc/api/management/commands/prunepings.py @@ -19,4 +19,4 @@ class Command(BaseCommand): q = q.filter(n__gt=0) n_pruned, _ = q.delete() - return "Done! Pruned %d pings" % n_pruned + return "Done! Pruned %d pings. Kept 100 most recent pings." % n_pruned