summaryrefslogtreecommitdiff
path: root/crocoite
diff options
context:
space:
mode:
Diffstat (limited to 'crocoite')
-rw-r--r--crocoite/controller.py2
-rw-r--r--crocoite/irc.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/crocoite/controller.py b/crocoite/controller.py
index e250cc5..cbc6662 100644
--- a/crocoite/controller.py
+++ b/crocoite/controller.py
@@ -331,7 +331,7 @@ class RecursiveController:
try:
process = await asyncio.create_subprocess_exec (*command, stdout=asyncio.subprocess.PIPE,
stderr=asyncio.subprocess.DEVNULL, stdin=asyncio.subprocess.DEVNULL,
- start_new_session=True)
+ start_new_session=True, limit=100*1024*1024)
while True:
data = await process.stdout.readline ()
if not data:
diff --git a/crocoite/irc.py b/crocoite/irc.py
index 0c1db39..1b0fa1b 100644
--- a/crocoite/irc.py
+++ b/crocoite/irc.py
@@ -435,7 +435,7 @@ class Chromebot (ArgparseBot):
stdout=asyncio.subprocess.PIPE,
stderr=asyncio.subprocess.DEVNULL,
stdin=asyncio.subprocess.DEVNULL,
- start_new_session=True)
+ start_new_session=True, limit=100*1024*1024)
while True:
data = await j.process.stdout.readline ()
if not data: