Skip to content

Commit 738f197

Browse files
committed
set factory worker options so workers don't die
1 parent 3dece7f commit 738f197

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test-vine-task-throughput.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,12 @@ def main():
1919
factory = vine.Factory("local", manager_host_port="localhost:{}".format(q.port))
2020
factory.max_workers = 1
2121
factory.min_workers = 1
22+
factory.cores = 1
23+
factory.memory = 2000
24+
factory.disk = 2000
25+
factory.debug_file = "stderr"
26+
factory.debug = "all"
27+
factory.extra_options = "--transfer-port=9123:9199"
2228

2329
num_tasks = 1000
2430

0 commit comments

Comments
 (0)