pub struct TilerConfig {
pub max_blocking_tasks: usize,
pub max_in_flight_requests: usize,
pub request_timeout: Duration,
}Expand description
Runtime limits for a Tiler.
max_blocking_tasks caps concurrent warp/render jobs. The permit wait is
async, while the CPU-heavy work still runs on Tokio’s blocking pool.
Fields§
§max_blocking_tasks: usizeMaximum simultaneous blocking warp/render jobs; zero is treated as one.
max_in_flight_requests: usizeMaximum admitted public requests; excess requests fail immediately.
request_timeout: DurationIncludes IO and waits for CPU permits. Blocking work stops at stage boundaries.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TilerConfig
impl RefUnwindSafe for TilerConfig
impl Send for TilerConfig
impl Sync for TilerConfig
impl Unpin for TilerConfig
impl UnsafeUnpin for TilerConfig
impl UnwindSafe for TilerConfig
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
Mutably borrows from an owned value. Read more
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more