summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorBen Busby <contact@benbusby.com>2025-01-29 12:39:10 -0700
committerBen Busby <contact@benbusby.com>2025-01-29 12:39:10 -0700
commit6682d5c59a99f1c34d4905e859a9a77fa7c25f77 (patch)
treee9ebb3fdbc22e601bbdb08442417e59cb6bf9c87 /db
parentf140cdfd6680c661afc510ece4eda28647238e88 (diff)
downloadfarside-6682d5c59a99f1c34d4905e859a9a77fa7c25f77.tar.gz
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.
Diffstat (limited to 'db')
-rw-r--r--db/cron.go1
1 files changed, 1 insertions, 0 deletions
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
}