Skip to content

Commit 8937d13

Browse files
sazonovkirillfacebook-github-bot
authored andcommitted
Log moduleListFinalized to RuntimeServerActions
Summary: Meta: We need this info to support the SAP rollout. Reviewed By: tlj77 Differential Revision: D73059575 fbshipit-source-id: 1d61ab042d4e2fccd5be1e455b4815b7689f23b8
1 parent 29a8758 commit 8937d13

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

thrift/lib/cpp2/server/ThriftServer.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -1171,6 +1171,7 @@ bool ThriftServer::runtimeResourcePoolsChecks() {
11711171
} else {
11721172
// Need to set this up now to check.
11731173
ensureProcessedServiceDescriptionInitialized();
1174+
runtimeServerActions_.moduleListFinalized = true;
11741175

11751176
// Check whether there are any wildcard services.
11761177
auto methodMetadata = getDecoratedProcessorFactory().createMethodMetadata();

thrift/lib/cpp2/server/ThriftServer.h

+2
Original file line numberDiff line numberDiff line change
@@ -316,6 +316,8 @@ class ThriftServer : public apache::thrift::concurrency::Runnable,
316316
bool checkComplete{false};
317317
bool isProcessorFactoryThriftGenerated{false};
318318

319+
bool moduleListFinalized{false};
320+
319321
std::string explain() const;
320322
};
321323

0 commit comments

Comments
 (0)