Skip to content

Commit

Permalink
Switch explicit CPUThreadPoolExecutor queue construction to makeDefau…
Browse files Browse the repository at this point in the history
…ltQueue()

Reviewed By: MichaelCuevas

Differential Revision: D65204935

fbshipit-source-id: 60d4b108c4a93b958746edda5040ce3820a4868f
  • Loading branch information
ot authored and facebook-github-bot committed Oct 30, 2024
1 parent 73cf4a8 commit dca667e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions eden/fs/store/hg/SaplingBackingStore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,7 @@ std::unique_ptr<folly::Executor> makeRetryThreadPool(
* In the long term, we'll want a more comprehensive approach to
* bounding the parallelism of scheduled work.
*/
std::make_unique<folly::UnboundedBlockingQueue<
folly::CPUThreadPoolExecutor::CPUTask>>(),
folly::CPUThreadPoolExecutor::makeDefaultQueue(),
std::make_shared<SaplingRetryThreadFactory>(
repository, stats.copy(), structuredLogger));
#ifdef EDEN_HAVE_SERVER_OBSERVER
Expand Down

0 comments on commit dca667e

Please sign in to comment.