Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

windows: temporarily disable non-zero reads

  • Loading branch information
Igor Zinkovsky
Igor Zinkovsky committed Aug 22, 2011
1 parent ce20791 commit 4e9edceb980401d92d45710a07b00872b430fd12
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/win/tcp.c
@@ -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.

0 comments on commit 4e9edce

Please sign in to comment.
You can’t perform that action at this time.