diff --git a/nexus/catalog/migrations/V20__slot_updated_at.sql b/nexus/catalog/migrations/V20__slot_updated_at.sql new file mode 100644 index 0000000000..6ef9a50840 --- /dev/null +++ b/nexus/catalog/migrations/V20__slot_updated_at.sql @@ -0,0 +1 @@ +CREATE INDEX index_slot_updated_at ON peerdb_stats.peer_slot_size (updated_at); \ No newline at end of file diff --git a/ui/app/api/peers/slots/[name]/route.ts b/ui/app/api/peers/slots/[name]/route.ts index 13f6ac97de..7ba1d943f0 100644 --- a/ui/app/api/peers/slots/[name]/route.ts +++ b/ui/app/api/peers/slots/[name]/route.ts @@ -34,7 +34,6 @@ export async function GET( select: { updated_at: true, slot_size: true, - wal_status: true, }, where: { slot_name: context.params.name, @@ -53,7 +52,6 @@ export async function GET( ' ' + lagPoint.updated_at.toLocaleTimeString(), slotSize: lagPoint.slot_size?.toString(), - walStatus: lagPoint.wal_status, }; }); diff --git a/ui/app/dto/PeersDTO.ts b/ui/app/dto/PeersDTO.ts index d1b9720ea5..a015439d83 100644 --- a/ui/app/dto/PeersDTO.ts +++ b/ui/app/dto/PeersDTO.ts @@ -55,5 +55,4 @@ export type PeerSetter = React.Dispatch>; export type SlotLagPoint = { updatedAt: string; slotSize?: string; - walStatus: string | null; };