diff options
| author | Paul Buetow <paul@buetow.org> | 2023-06-01 00:09:22 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2023-06-01 00:09:22 +0300 |
| commit | 36d5495960edbb022eee5d73511d889ad10fd1ac (patch) | |
| tree | aaa4d8b6acb6fd9d60cbe9e4dd8945b886731d56 | |
| parent | 18d1fb66049a155010f3cd83f7984228372494e7 (diff) | |
downtime is only a quarter worth of uptime
| -rw-r--r-- | guprecords.raku | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |
