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

core/simple_lister: Use bigger batch of data

parent 3a65fbb4
No related branches found
No related tags found
No related merge requests found
......@@ -47,7 +47,7 @@ class SimpleLister(SWHListerBase):
models_list = self.filter_before_inject(models_list)
from swh.core import utils
all_injected = []
for models in utils.grouper(models_list, n=1000):
for models in utils.grouper(models_list, n=10000):
models = list(models)
logging.debug('models: %s' % len(models))
# inject into local db
......
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