Browse Source

Add more information to the prunepings command.

Add a reminder that 100 of the most recent pings were kept.
pull/506/head
Yonas Yanfa 4 years ago
committed by GitHub
parent
commit
3d80676a34
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      hc/api/management/commands/prunepings.py

+ 1
- 1
hc/api/management/commands/prunepings.py View File

@ -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

Loading…
Cancel
Save