chore: add function for getting started on metasrv (#7022)

Signed-off-by: shuiyisong <xixing.sys@gmail.com>
This commit is contained in:
shuiyisong
2025-09-25 16:24:23 +08:00
committed by GitHub
parent c6e5552f05
commit 06a4f0abea

View File

@@ -794,6 +794,10 @@ impl Metasrv {
&self.plugins
}
pub fn started(&self) -> Arc<AtomicBool> {
self.started.clone()
}
#[inline]
pub fn new_ctx(&self) -> Context {
let server_addr = self.options().grpc.server_addr.clone();