aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/refcat/tasks.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/refcat/tasks.py b/python/refcat/tasks.py
index 0b62564..90c3073 100644
--- a/python/refcat/tasks.py
+++ b/python/refcat/tasks.py
@@ -1237,8 +1237,9 @@ class BrefSortedByWorkID(Refcat):
shellout("""
zstdcat -T0 {bref} |
skate-map -B -m ff -x source_work_ident |
- LC_ALL=C sort -S25% -k1,1 | zstd -c -T0 > {output}
+ LC_ALL=C sort -T {tmpdir} -S25% -k1,1 --parallel 4 | zstd -c -T0 > {output}
""",
+ tmpdir=self.tmpdir,
bref=self.input().path)
luigi.LocalTarget(tmpf).move(self.output().path)