Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

Commit

Permalink
Reduce the default transaction pool size from 30,000 to 4096. (#1136)
Browse files Browse the repository at this point in the history
  • Loading branch information
ajsutton authored Mar 20, 2019
1 parent c6edd4f commit 451cb0a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
* <p>This class is safe for use across multiple threads.
*/
public class PendingTransactions {
public static final int MAX_PENDING_TRANSACTIONS = 30_000;
public static final int MAX_PENDING_TRANSACTIONS = 4096;

private final Map<Hash, TransactionInfo> pendingTransactions = new HashMap<>();
private final SortedSet<TransactionInfo> prioritizedTransactions =
Expand Down

0 comments on commit 451cb0a

Please sign in to comment.