CPUThreadPoolExecutor's default queue is quite big
[folly.git] / folly / wangle / concurrent / CPUThreadPoolExecutor.cpp
index e0ad08c83ce8a76379a147a5a52c0206ed8872d1..25b2214842b44d7e1dbd45fbb87b16bc62bc8323 100644 (file)
@@ -1,5 +1,5 @@
 /*
 /*
- * Copyright 2014 Facebook, Inc.
+ * Copyright 2015 Facebook, Inc.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -19,7 +19,7 @@
 
 namespace folly { namespace wangle {
 
 
 namespace folly { namespace wangle {
 
-const size_t CPUThreadPoolExecutor::kDefaultMaxQueueSize = 1 << 18;
+const size_t CPUThreadPoolExecutor::kDefaultMaxQueueSize = 1 << 14;
 const size_t CPUThreadPoolExecutor::kDefaultNumPriorities = 2;
 
 CPUThreadPoolExecutor::CPUThreadPoolExecutor(
 const size_t CPUThreadPoolExecutor::kDefaultNumPriorities = 2;
 
 CPUThreadPoolExecutor::CPUThreadPoolExecutor(