Commit 4591832b authored by Maged Michael's avatar Maged Michael Committed by Facebook Github Bot

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
parent f842b713
......@@ -46,7 +46,7 @@ class UnboundedBlockingQueue : public BlockingQueue<T> {
private:
LifoSem sem_;
UMPMCQueue<T, false> queue_;
UMPMCQueue<T, false, 6> queue_;
};
} // namespace folly
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment