pub struct RuntimeConfig {Show 14 fields
pub listen: ListenConfig,
pub tls: Option<TlsConfig>,
pub auth: AuthConfig,
pub dashboard: DashboardConfig,
pub namespace: NamespaceConfig,
pub worker: WorkerConfig,
pub websocket: WebSocketConfig,
pub workflow_packages: Vec<PathBuf>,
pub deploy: DeployConfig,
pub scheduler_threads: usize,
pub query_timeout: Option<Duration>,
pub default_namespace: String,
pub drain_timeout: Duration,
pub metrics: MetricsConfig,
}Expand description
Runtime settings retained in shared server state for transport adapters.
Fields§
§listen: ListenConfigListener addresses for public transports.
tls: Option<TlsConfig>Optional TLS material for public transports.
auth: AuthConfigAuthentication configuration shared by transports.
dashboard: DashboardConfigDashboard asset location.
namespace: NamespaceConfigNamespace resolver construction mode.
worker: WorkerConfigRemote worker heartbeat configuration.
websocket: WebSocketConfigWebSocket stream configuration.
workflow_packages: Vec<PathBuf>Workflow package archives loaded into the engine at startup.
deploy: DeployConfigOperator deploy API settings.
scheduler_threads: usizeEngine scheduler thread count.
query_timeout: Option<Duration>Engine reply deadline for workflow queries. REQUIRED — carried as an
Option only so state construction can re-validate (defense in
depth, like websocket.event_broadcast_capacity); validated
configurations always hold Some non-zero duration.
default_namespace: StringDefault namespace used by worker dispatch and unauthenticated local callers.
drain_timeout: DurationGraceful drain timeout.
metrics: MetricsConfigMetrics endpoint settings.
Trait Implementations§
Source§impl Clone for RuntimeConfig
impl Clone for RuntimeConfig
Source§fn clone(&self) -> RuntimeConfig
fn clone(&self) -> RuntimeConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreAuto Trait Implementations§
impl Freeze for RuntimeConfig
impl RefUnwindSafe for RuntimeConfig
impl Send for RuntimeConfig
impl Sync for RuntimeConfig
impl Unpin for RuntimeConfig
impl UnsafeUnpin for RuntimeConfig
impl UnwindSafe for RuntimeConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::RequestSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request