explorer: Speed up cluster stats loading (#20916)
This commit is contained in:
parent
791a2c8d1c
commit
4188554e77
|
@ -44,7 +44,9 @@ async function fetch(dispatch: Dispatch, cluster: Cluster, url: string) {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const connection = new Connection(url, "finalized");
|
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
|
// Update state if still connecting
|
||||||
dispatch((state) => {
|
dispatch((state) => {
|
||||||
|
|
Loading…
Reference in New Issue