fix(metrics): shiftregister_helpers_required returns None on fresh instance
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
661df8d370
commit
a18040fb57
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue