Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Raise stack size to 4MB (2MB on DEBUG build) for backport to 1.8 SERV…

…ER-2707
  • Loading branch information...
commit f9fcfffad6f95cf6e37d99d07b1d7c74075b56f6 1 parent 7323ec1
@RedBeard0531 RedBeard0531 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  util/message_server_port.cpp
View
2  util/message_server_port.cpp
@@ -112,7 +112,7 @@ namespace mongo {
pthread_attr_init(&attrs);
pthread_attr_setdetachstate(&attrs, PTHREAD_CREATE_DETACHED);
- static const size_t STACK_SIZE = 1024*1024;
+ static const size_t STACK_SIZE = 4*1024*1024;
pthread_attr_setstacksize(&attrs, (DEBUG_BUILD
? (STACK_SIZE / 2)
: STACK_SIZE));
Please sign in to comment.
Something went wrong with that request. Please try again.