From cc14fe8d554f256d1061f314e8cf43868316dbc1 Mon Sep 17 00:00:00 2001 From: Hani Damlaj Date: Thu, 24 Oct 2024 15:23:08 -0700 Subject: [PATCH] remove checkInMainThread from ::setHostId Summary: context in T205141168; Reviewed By: frankfeir Differential Revision: D64620159 fbshipit-source-id: 72721e7dde424bf660bf11541fb34a26e903f082 --- quic/server/QuicServer.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/quic/server/QuicServer.cpp b/quic/server/QuicServer.cpp index 29ef6e8bd..bce5f503f 100644 --- a/quic/server/QuicServer.cpp +++ b/quic/server/QuicServer.cpp @@ -564,7 +564,8 @@ void QuicServer::runOnAllWorkersSync( } void QuicServer::setHostId(uint32_t hostId) noexcept { - checkRunningInThread(mainThreadId_); + // TODO(damlaj): T205141168; lift commmented checkRunningInThread check below + // checkRunningInThread(mainThreadId_); if (hostId_ == hostId) { LOG(WARNING) << "HostId is already set to " << hostId; return;