fix(metrics): shiftregister_helpers_required returns None on fresh instance

pull/1/head
Luca 8 months ago
parent 661df8d370
commit a18040fb57

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

Loading…
Cancel
Save