Skip to content

Commit aba00c7

Browse files
committed
[fix](heartbeat) use THREAD_POOL mode for heartbeat thrift server
1 parent c606272 commit aba00c7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

be/src/agent/heartbeat_server.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,8 @@ Status create_heartbeat_server(ExecEnv* exec_env, uint32_t server_port,
248248
std::shared_ptr<HeartbeatServiceProcessor::TProcessor> server_processor(
249249
new HeartbeatServiceProcessor(handler));
250250
*thrift_server = std::make_unique<ThriftServer>("heartbeat", server_processor, server_port,
251-
worker_thread_num);
251+
worker_thread_num,
252+
ThriftServer::ServerType::THREAD_POOL);
252253
return Status::OK();
253254
}
254255
} // namespace doris

0 commit comments

Comments
 (0)