[fix] try to fix bug in prod where sometime the line is too long in stdout

This commit is contained in:
Laurent Peuch 2018-09-10 02:51:41 +02:00
parent 7b05b44c24
commit 7d1f02750c

2
run.py
View file

@ -283,6 +283,8 @@ async def run_job(worker, job):
task_logger.info(f"Launch command: /bin/bash " + path_to_analyseCI + arguments)
command = await asyncio.create_subprocess_shell("/bin/bash " + path_to_analyseCI + arguments,
cwd=cwd,
# default limit is not enough in some situations
limit=(2 ** 16) * 10,
stdout=asyncio.subprocess.PIPE,
stderr=asyncio.subprocess.PIPE)