Skip to content

Commit

Permalink
address the comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
horizonzy committed Feb 26, 2024
1 parent 8e2bc77 commit 317f9e1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ private static void readLedger(ClientConfiguration conf, long ledgerId, byte[] p
long starttime = System.nanoTime();

while (entriesRead < lastConfirmed) {
long nextLimit = lastRead + 10;
long nextLimit = lastRead + 100000;
Enumeration<LedgerEntry> entries;
if (batchEntries <= 0) {
long readTo = Math.min(nextLimit, lastConfirmed);
Expand Down

0 comments on commit 317f9e1

Please sign in to comment.