Skip to content

Commit

Permalink
Use the new IOThreadPoolExecutorBase class in thrift
Browse files Browse the repository at this point in the history
Summary: Use the new IOThreadPoolExecutorBase class in thrift

Reviewed By: robertroeser

Differential Revision: D47738843

fbshipit-source-id: 4455931ab63b88636245b4da1190a3880fdeb46f
  • Loading branch information
Dan Melnic authored and facebook-github-bot committed Aug 1, 2023
1 parent c678a46 commit d6850af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mcrouter/ExecutorObserver.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class ExecutorObserver : public folly::ThreadPoolExecutor::Observer {
folly::ThreadPoolExecutor::ThreadHandle* threadHandle) override {
CHECK(!initializationComplete_);
evbs_.wlock()->push_back(
folly::IOThreadPoolExecutor::getEventBase(threadHandle));
folly::IOThreadPoolExecutorBase::getEventBase(threadHandle));
}
void threadStopped(folly::ThreadPoolExecutor::ThreadHandle*) override {}

Expand Down

0 comments on commit d6850af

Please sign in to comment.