Skip to content

Commit

Permalink
Default limit of 1 on metrics and stats arweave GQL queries
Browse files Browse the repository at this point in the history
  • Loading branch information
jim-toth committed Sep 12, 2024
1 parent f9c92cd commit 7015ec0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions stores/useMetricsStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export const useMetricsStore = defineStore('metrics', {
this.relayMetricsPending = false;
},

async refreshRelayMetrics(limit: number = 5) {
async refreshRelayMetrics(limit: number = 1) {
const ardb = useArdb();
const runtimeConfig = useRuntimeConfig();
if (!this.latestHeight) {
Expand Down Expand Up @@ -194,7 +194,7 @@ export const useMetricsStore = defineStore('metrics', {
}
},

async refreshValidationStats(limit: number = 5) {
async refreshValidationStats(limit: number = 1) {
const ardb = useArdb();
const runtimeConfig = useRuntimeConfig();

Expand Down

0 comments on commit 7015ec0

Please sign in to comment.