@@ -1,7 +1,7 @@
|
||||
use std::sync::Arc;
|
||||
|
||||
use conduit::{config::Config, info, log::Log, utils::sys, Error, Result};
|
||||
use tokio::runtime;
|
||||
use tokio::{runtime, sync::Mutex};
|
||||
|
||||
use crate::{clap::Args, tracing::TracingFlameGuard};
|
||||
|
||||
@@ -10,6 +10,8 @@ pub(crate) struct Server {
|
||||
/// Server runtime state; public portion
|
||||
pub(crate) server: Arc<conduit::Server>,
|
||||
|
||||
pub(crate) services: Mutex<Option<Arc<conduit_service::Services>>>,
|
||||
|
||||
_tracing_flame_guard: TracingFlameGuard,
|
||||
|
||||
#[cfg(feature = "sentry_telemetry")]
|
||||
@@ -54,6 +56,8 @@ impl Server {
|
||||
},
|
||||
)),
|
||||
|
||||
services: None.into(),
|
||||
|
||||
_tracing_flame_guard: tracing_flame_guard,
|
||||
|
||||
#[cfg(feature = "sentry_telemetry")]
|
||||
|
||||
Reference in New Issue
Block a user