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

swh.scheduler.updater.writer: Do not set the limit at this level

parent c288da2e
No related branches found
No related tags found
No related merge requests found
......@@ -97,8 +97,7 @@ class UpdaterWriter(SWHConfig):
"""
while True:
timestamp = utcnow()
events = list(self.scheduler_updater_backend.cache_read(
timestamp, limit=1000))
events = list(self.scheduler_updater_backend.cache_read(timestamp))
if not events:
break
for urls in utils.grouper(self.write_event_to_scheduler(events),
......
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