mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
Merge pull request #10096 from overleaf/ii-stderr-exceeds-max-size-error
Adjust string output stream settings GitOrigin-RevId: 02b48e17ad52ea9af44ce330bc8b6bc80c4d4251
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user