Skip to content

Commit

Permalink
Increase batch size to 100
Browse files Browse the repository at this point in the history
  • Loading branch information
les-sheppard committed Dec 9, 2024
1 parent 97e05f0 commit b1b887e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public MempoolRelayer(

public EventProcessor<MempoolAddSuccess> mempoolAddSuccessEventProcessor() {
return mempoolAddSuccess -> {
if (this.cache.size() < 50) {
if (this.cache.size() < 100) {
this.cache.add(mempoolAddSuccess.transaction());
} else {
// FIXME: handle transaction origin properly and if there is very a few txns.
Expand Down

0 comments on commit b1b887e

Please sign in to comment.