Skip to content
This repository has been archived by the owner on May 4, 2018. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
windows: temporarily disable non-zero reads
  • Loading branch information
Igor Zinkovsky committed Aug 22, 2011
1 parent ce20791 commit 4e9edce
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/win/tcp.c
Expand Up @@ -28,8 +28,11 @@

/*
* Threshold of active tcp streams for which to preallocate tcp read buffers.
* (Due to node slab allocator performing poorly under this pattern,
* the optimization is temporarily disabled (threshold=0). This will be
* revisited once node allocator is improved.)
*/
const unsigned int uv_active_tcp_streams_threshold = 50;
const unsigned int uv_active_tcp_streams_threshold = 0;

/*
* Number of simultaneous pending AcceptEx calls.
Expand Down

0 comments on commit 4e9edce

Please sign in to comment.