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.
This commit is contained in:
parent
2e22073558
commit
003cf5491f
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue