mirror of https://github.com/nodejs/node.git
Increase TLS pool size for perf increase
parent
98b56636c0
commit
c0b461d9a1
|
@ -241,7 +241,7 @@ CryptoStream.prototype._push = function() {
|
|||
while (this._writeState == true) {
|
||||
var bytesRead = 0;
|
||||
var chunkBytes = 0;
|
||||
var pool = new Buffer(4096); // alloc every time?
|
||||
var pool = new Buffer(16 * 4096); // alloc every time?
|
||||
|
||||
do {
|
||||
chunkBytes = this._pusher(pool, bytesRead, pool.length - bytesRead);
|
||||
|
|
Loading…
Reference in New Issue