From 6682d5c59a99f1c34d4905e859a9a77fa7c25f77 Mon Sep 17 00:00:00 2001 From: Ben Busby Date: Wed, 29 Jan 2025 12:39:10 -0700 Subject: Update "last updated" time when fetching from primary node Fetches from the primary farside node were not updating the "last updated" time, and would only show a placeholder UTC timestamp. --- db/cron.go | 1 + 1 file changed, 1 insertion(+) (limited to 'db') diff --git a/db/cron.go b/db/cron.go index a7282a4..7b7e9ce 100644 --- a/db/cron.go +++ b/db/cron.go @@ -53,6 +53,7 @@ func queryServiceInstances() { SetInstances(service.Type, service.Instances) } + LastUpdate = time.Now().UTC() return } -- cgit v1.2.3