Skip to content

Commit f3f8fc1

Browse files
committed
🩹 mem-leak: patch winston-transport #2453
1 parent 4037603 commit f3f8fc1

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
diff --git a/node_modules/winston-transport/index.js b/node_modules/winston-transport/index.js
2+
index a01b9b5..1545b2d 100644
3+
--- a/node_modules/winston-transport/index.js
4+
+++ b/node_modules/winston-transport/index.js
5+
@@ -102,7 +102,7 @@ TransportStream.prototype._write = function _write(info, enc, callback) {
6+
7+
return this.log(transformed, callback);
8+
}
9+
-
10+
+ this._writableState.sync = false;
11+
return callback(null);
12+
};
13+

0 commit comments

Comments
 (0)