Skip to content

Commit

Permalink
reduce pageSize for TokenOracle
Browse files Browse the repository at this point in the history
  • Loading branch information
Konstantinos Gaitanis committed Dec 5, 2024
1 parent 9258c39 commit 2e4aabf
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 = 25
private static let pageSize: UInt64 = 10
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 2e4aabf

Please sign in to comment.