Skip to content

Commit

Permalink
smaller page size
Browse files Browse the repository at this point in the history
  • Loading branch information
Konstantinos Gaitanis committed Nov 27, 2024
1 parent 8f9247a commit 9258c39
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/DAB/TokenOracle.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9258c39

Please sign in to comment.