From af0a9118c1b44a697274497646b1204a630a9291 Mon Sep 17 00:00:00 2001 From: Grant Limberg Date: Mon, 19 May 2025 11:07:18 -0700 Subject: [PATCH] another query update --- controller/CV2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controller/CV2.cpp b/controller/CV2.cpp index fd925ca69..5a5d58f79 100644 --- a/controller/CV2.cpp +++ b/controller/CV2.cpp @@ -996,7 +996,7 @@ void CV2::onlineNotificationThread() { "VALUES ('"+w2.esc(memberId)+"', '"+w2.esc(networkId)+"', '"+w2.esc(record.dump())+"'::JSONB, " "'"+w2.esc(osArchSplit[0])+"', '"+w2.esc(osArchSplit[1])+"') " "ON CONFLICT (device_id, network_id) DO UPDATE SET os = EXCLUDED.os, arch = EXCLUDED.arch, " - "last_seen = last_seen || EXCLUDED.last_seen"; + "last_seen = network_memberships_ctl.last_seen || EXCLUDED.last_seen"; pipe.insert(device_network_insert); Metrics::pgsql_node_checkin++;