From 36d5495960edbb022eee5d73511d889ad10fd1ac Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Thu, 1 Jun 2023 00:09:22 +0300 Subject: downtime is only a quarter worth of uptime --- guprecords.raku | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guprecords.raku b/guprecords.raku index 260e257..ec0de67 100644 --- a/guprecords.raku +++ b/guprecords.raku @@ -67,7 +67,7 @@ class Aggregate { class HostAggregate is Aggregate { method lifespan returns UInt { $.last-seen - $.first-boot } method downtime returns UInt { self.lifespan - $.uptime } - method meta-score returns UInt { UInt(self.downtime / 1000000) + callsame } + method meta-score returns UInt { UInt(self.downtime / 2000000) + callsame } } class Aggregator { -- cgit v1.2.3