Skip to content

Commit

Permalink
🔧 subgraph: decrease batch size
Browse files Browse the repository at this point in the history
  • Loading branch information
cruzdanilo committed Mar 19, 2024
1 parent 68f860b commit a59fdbd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hooks/useHistoricalRates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ type HistoricalRateData = {
};

// This is the maximum number of data points we can get from the subgraph
const MAX_COUNT = 24;
const MAX_COUNT = 20;
const emptyBatch: Awaited<ReturnType<typeof queryRates>> = [];

export default function useHistoricalRates(symbol: string, initialCount = 30, initialInterval = 3_600 * 6) {
Expand Down

0 comments on commit a59fdbd

Please sign in to comment.