From 4188554e77e3ea76082a133e76df3c3b451ad61d Mon Sep 17 00:00:00 2001 From: Justin Starry Date: Sat, 23 Oct 2021 11:51:10 -0400 Subject: [PATCH] explorer: Speed up cluster stats loading (#20916) --- explorer/src/providers/supply.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/explorer/src/providers/supply.tsx b/explorer/src/providers/supply.tsx index d07198e507..99df466f45 100644 --- a/explorer/src/providers/supply.tsx +++ b/explorer/src/providers/supply.tsx @@ -44,7 +44,9 @@ async function fetch(dispatch: Dispatch, cluster: Cluster, url: string) { try { const connection = new Connection(url, "finalized"); - const supply = (await connection.getSupply()).value; + const supply = ( + await connection.getSupply({ excludeNonCirculatingAccountsList: true }) + ).value; // Update state if still connecting dispatch((state) => {