From b3f98503b75e05d86f9680f11dacd4f3a177fcb7 Mon Sep 17 00:00:00 2001 From: ilkin-overleaf <100852799+ilkin-overleaf@users.noreply.github.com> Date: Fri, 21 Oct 2022 12:46:01 +0300 Subject: [PATCH] Merge pull request #10096 from overleaf/ii-stderr-exceeds-max-size-error Adjust string output stream settings GitOrigin-RevId: 02b48e17ad52ea9af44ce330bc8b6bc80c4d4251 --- services/clsi/app/js/DockerRunner.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/services/clsi/app/js/DockerRunner.js b/services/clsi/app/js/DockerRunner.js index 3ebabe25d2..0b04733dea 100644 --- a/services/clsi/app/js/DockerRunner.js +++ b/services/clsi/app/js/DockerRunner.js @@ -415,7 +415,7 @@ const DockerRunner = { logger.debug({ containerId }, 'attached to container') - const MAX_OUTPUT = 1024 * 1024 // limit output to 1MB + const MAX_OUTPUT = 1024 * 1024 * 2 // limit output to 2MB function createStringOutputStream(name) { return { data: '', @@ -427,7 +427,7 @@ const DockerRunner = { if (this.data.length < MAX_OUTPUT) { this.data += data } else { - logger.error( + logger.info( { containerId, length: this.data.length,