Skip to content
Snippets Groups Projects
Verified Commit 003cf549 authored by Antoine R. Dumont's avatar Antoine R. Dumont
Browse files

pattern: Bump packet split to chunk of 1000 records

Listers like github and bitbucket should not be impacted as they already list 1000
records per page.
parent 2e220735
No related branches found
No related tags found
No related merge requests found
......@@ -223,7 +223,7 @@ class Lister(Generic[StateType, PageType]):
the number of listed origins recorded in the scheduler
"""
count = 0
for batch_origins in grouper(origins, n=100):
for batch_origins in grouper(origins, n=1000):
ret = self.scheduler.record_listed_origins(batch_origins)
count += len(ret)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment