From 9258c39395fbbf04ad540380576f05bb7a3c1183 Mon Sep 17 00:00:00 2001 From: Konstantinos Gaitanis Date: Wed, 27 Nov 2024 17:24:45 +0100 Subject: [PATCH] smaller page size --- Sources/DAB/TokenOracle.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/DAB/TokenOracle.swift b/Sources/DAB/TokenOracle.swift index 6979435..65279fb 100644 --- a/Sources/DAB/TokenOracle.swift +++ b/Sources/DAB/TokenOracle.swift @@ -101,7 +101,7 @@ public class TokenOracle { } private extension TokenOracle { - private static let pageSize: UInt64 = 50 + private static let pageSize: UInt64 = 25 func fetchAllIcrc1Canisters() async throws -> [ICRC1Oracle.ICRC1] { let canisterCount = try await service.count_icrc1_canisters() let nPages = canisterCount / Self.pageSize + 1