Skip to content

Commit

Permalink
fix: lower max events added to queue
Browse files Browse the repository at this point in the history
  • Loading branch information
dreulavelle committed Oct 11, 2024
1 parent 6a79f01 commit 197713a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/program/program.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,10 +217,10 @@ def _retry_library(self) -> None:
if count == 0:
return

number_of_rows_per_page = 100
max_events_to_add = 1000 # Limit the number of events to add at once
number_of_rows_per_page = 10
max_events_to_add = 100 # Limit the number of events to add at once
events_added = 0

logger.log("PROGRAM", f"Starting retry process for {count} items. Processing in batches.")

def fetch_items_in_batches():
Expand Down

0 comments on commit 197713a

Please sign in to comment.