From cbcdde65aa667369b0890a042e5b44d6b1e377aa Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Sat, 29 Sep 2018 14:46:09 +0200 Subject: irc: Limit number of processes spawned --- crocoite/cli.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'crocoite/cli.py') diff --git a/crocoite/cli.py b/crocoite/cli.py index dadfc45..8473a0d 100644 --- a/crocoite/cli.py +++ b/crocoite/cli.py @@ -122,7 +122,8 @@ def irc (): nick=s.get ('nick'), channels=[s.get ('channel')], tempdir=s.get ('tempdir'), - destdir=s.get ('destdir')) + destdir=s.get ('destdir'), + processLimit=s.getint ('process_limit')) bot.loop.create_task(bot.connect()) bot.loop.run_forever() -- cgit v1.2.3