Skip to content

Commit

Permalink
🩹 mem-leak: patch winston-transport #2453
Browse files Browse the repository at this point in the history
  • Loading branch information
smashah committed Jan 31, 2022
1 parent 4037603 commit f3f8fc1
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions patches/winston-transport+4.4.1.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/node_modules/winston-transport/index.js b/node_modules/winston-transport/index.js
index a01b9b5..1545b2d 100644
--- a/node_modules/winston-transport/index.js
+++ b/node_modules/winston-transport/index.js
@@ -102,7 +102,7 @@ TransportStream.prototype._write = function _write(info, enc, callback) {

return this.log(transformed, callback);
}
-
+ this._writableState.sync = false;
return callback(null);
};

0 comments on commit f3f8fc1

Please sign in to comment.