From 4591832b4885f166236acee689dd2b11e3b3135b Mon Sep 17 00:00:00 2001 From: Maged Michael Date: Mon, 8 Jan 2018 16:29:24 -0800 Subject: [PATCH] UnboundedBlockingQueue: Adjust segment size Summary: Adjust the segment size of the `UnboundedQueue` to 64 instead of 256, a size more suitable for CPUThreadPoolExecutor::CPUTask elements. Reviewed By: djwatson Differential Revision: D6665918 fbshipit-source-id: c34c4fa936ee5c6d6a3dd4489129c936369f3980 --- folly/executors/task_queue/UnboundedBlockingQueue.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/folly/executors/task_queue/UnboundedBlockingQueue.h b/folly/executors/task_queue/UnboundedBlockingQueue.h index cfab6545..c6a53590 100644 --- a/folly/executors/task_queue/UnboundedBlockingQueue.h +++ b/folly/executors/task_queue/UnboundedBlockingQueue.h @@ -46,7 +46,7 @@ class UnboundedBlockingQueue : public BlockingQueue { private: LifoSem sem_; - UMPMCQueue queue_; + UMPMCQueue queue_; }; } // namespace folly -- 2.34.1