2
0
Fork 0

fix(metrics): shiftregister_helpers_required returns None on fresh instance
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Luca 2024-05-10 20:07:03 +02:00
parent 661df8d370
commit a18040fb57
1 changed files with 2 additions and 1 deletions

View File

@ -105,7 +105,8 @@ def metrics(request):
default=F("required_helpers"),
)
)
.aggregate(sum=Sum("real_required_helpers"))["sum"],
.aggregate(sum=Sum("real_required_helpers"))["sum"]
or 0,
),
(
"messages_sent_total",