mirror of
https://github.com/jlengrand/bugsink.git
synced 2026-03-10 08:01:17 +00:00
showstat: warning about eviction
This commit is contained in:
@@ -29,6 +29,8 @@ class Command(BaseCommand):
|
||||
print(Event.objects.all().count())
|
||||
|
||||
if stat == "digestion_speed":
|
||||
print("WARNING: when eviction is enabled, the numbers will be wrong")
|
||||
|
||||
for window in [1, 10, 30, 60, 5 * 60, 60 * 60, 24 * 60 * 60]:
|
||||
now = timezone.now()
|
||||
with durable_atomic():
|
||||
|
||||
Reference in New Issue
Block a user