Skip to content

Commit

Permalink
Pull 100 entries at a time
Browse files Browse the repository at this point in the history
  • Loading branch information
wpscholar committed Apr 30, 2023
1 parent 6036a1c commit 8890bcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/EventManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ public function send_batch() {

$queue = EventQueue::getInstance()->queue();

$events = $queue->pull( 50 );
$events = $queue->pull( 100 );

// If queue is empty, do nothing.
if ( empty( $events ) ) {
Expand Down

0 comments on commit 8890bcc

Please sign in to comment.