projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d961a6
)
Increase ReadStream bufferSize to 64k
author
Ryan Dahl
<ry@tinyclouds.org>
Wed, 8 Sep 2010 17:14:04 +0000
(10:14 -0700)
committer
Ryan Dahl
<ry@tinyclouds.org>
Wed, 8 Sep 2010 17:14:04 +0000
(10:14 -0700)
lib/fs.js
patch
|
blob
|
history
diff --git
a/lib/fs.js
b/lib/fs.js
index
0eb4a35
..
3f5e270
100644
(file)
--- a/
lib/fs.js
+++ b/
lib/fs.js
@@
-6,7
+6,7
@@
var binding = process.binding('fs');
var fs = exports;
var kMinPoolSpace = 128;
-var kPoolSize = 40
*
1024;
+var kPoolSize = 40
*
1024;
fs.Stats = binding.Stats;
@@
-618,7
+618,7
@@
var ReadStream = fs.ReadStream = function(path, options) {
this.flags = 'r';
this.mode = 0666;
- this.bufferSize = 4 * 1024;
+ this.bufferSize =
6
4 * 1024;
options = options || {};