diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2018-09-29 14:46:09 +0200 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2018-09-29 14:46:09 +0200 |
commit | cbcdde65aa667369b0890a042e5b44d6b1e377aa (patch) | |
tree | 2f131c26e66837cc9314a54aaa36a23860edfb0c /crocoite/cli.py | |
parent | 2d45be2bf8810062fbdbc052c3275b140d5c50df (diff) | |
download | crocoite-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.py | 3 |
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() |