Skip to content

Commit

Permalink
Remove executionLog to reduce memory consumption (#111911)
Browse files Browse the repository at this point in the history
Co-authored-by: Kibana Machine <[email protected]>
  • Loading branch information
rudolf and kibanamachine authored Sep 14, 2021
1 parent 2262cac commit 9b9286f
Show file tree
Hide file tree
Showing 6 changed files with 999 additions and 383 deletions.
6 changes: 4 additions & 2 deletions src/core/server/logging/appenders/file/file_appender.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,10 @@ export class FileAppender implements DisposableAppender {
return resolve();
}

this.outputStream.end(() => {
this.outputStream = undefined;
const outputStream = this.outputStream;
this.outputStream = undefined;

outputStream.end(() => {
resolve();
});
});
Expand Down
Loading

0 comments on commit 9b9286f

Please sign in to comment.