mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05: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:
parent
905c9c6ec1
commit
b3f98503b7
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue