Commit 0a75d90d authored by Jonathan Schaeffer's avatar Jonathan Schaeffer
Browse files

Revert "Pass files one by one to wfcollector"

This reverts commit 1b9f03d5.
parent 1b9f03d5
......@@ -144,11 +144,10 @@ def seedtree(content):
p.wait()
def wfcatalog(content):
# launch wfcatalog updates, file by file
# in a docker container, passing multiple files at once seems to fail
for f in content.splitlines():
wfcollector = WFCatalogCollector(to_stdout=True)
wfcollector.process({'update': True, 'force': True, 'csegs': True, 'flags': True, 'file': f})
# launch wfcatalog updates, 100 files for each run
wfcollector = WFCatalogCollector(to_stdout=True)
files = json.dumps(content.splitlines())
wfcollector.process({'update': True, 'force': True, 'csegs': True, 'flags': True, 'list': files})
if __name__ == "__main__":
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment