summaryrefslogtreecommitdiff
path: root/crocoite/cli.py
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2018-09-29 14:46:09 +0200
committerLars-Dominik Braun <lars@6xq.net>2018-09-29 14:46:09 +0200
commitcbcdde65aa667369b0890a042e5b44d6b1e377aa (patch)
tree2f131c26e66837cc9314a54aaa36a23860edfb0c /crocoite/cli.py
parent2d45be2bf8810062fbdbc052c3275b140d5c50df (diff)
downloadcrocoite-cbcdde65aa667369b0890a042e5b44d6b1e377aa.tar.gz
crocoite-cbcdde65aa667369b0890a042e5b44d6b1e377aa.tar.bz2
crocoite-cbcdde65aa667369b0890a042e5b44d6b1e377aa.zip
irc: Limit number of processes spawned
Diffstat (limited to 'crocoite/cli.py')
-rw-r--r--crocoite/cli.py3
1 files changed, 2 insertions, 1 deletions
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()