Page MenuHomeSoftware Heritage

D9008.id32474.diff
No OneTemporary

D9008.id32474.diff

diff --git a/swh/graph/luigi/compressed_graph.py b/swh/graph/luigi/compressed_graph.py
--- a/swh/graph/luigi/compressed_graph.py
+++ b/swh/graph/luigi/compressed_graph.py
@@ -93,6 +93,7 @@
Larger is faster, but consumes more resources.
""",
)
+ max_ram = luigi.Parameter(default=None, significant=False)
object_types = list(ObjectType)
# To make this configurable, we could use this:
@@ -142,6 +143,8 @@
if self.batch_size:
conf["batch_size"] = self.batch_size
+ if self.max_ram:
+ conf["max_ram"] = self.max_ram
# Delete stamps. Otherwise interrupting this compression pipeline may leave
# stamps from a previous successful compression

File Metadata

Mime Type
text/plain
Expires
Wed, Sep 17, 4:42 PM (2 h, 15 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3214572

Event Timeline