pub struct CodebaseReindexConfig {
pub enabled: bool,
pub poll_secs: u64,
pub reconcile_secs: u64,
pub min_interval_secs: u64,
pub max_backoff_secs: u64,
pub max_intake: usize,
pub max_concurrent: usize,
pub job_timeout_secs: u64,
}Fields§
§enabled: boolDaemon consumes wake-ups and reconciles. Off = no daemon task at all.
poll_secs: u64Inbox sweep interval, seconds.
reconcile_secs: u64Reconcile without a wake-up every this many seconds.
min_interval_secs: u64Minimum gap between attempts for one project, seconds. Also the starting value of the failure backoff.
max_backoff_secs: u64Failure backoff ceiling, seconds.
max_intake: usizeInbox entries handled per sweep; the rest wait for the next one.
max_concurrent: usizeConcurrent index children.
job_timeout_secs: u64Kill a child that runs longer than this, seconds.
Trait Implementations§
Source§impl Clone for CodebaseReindexConfig
impl Clone for CodebaseReindexConfig
Source§impl Debug for CodebaseReindexConfig
impl Debug for CodebaseReindexConfig
Source§impl Default for CodebaseReindexConfig
impl Default for CodebaseReindexConfig
Source§impl<'de> Deserialize<'de> for CodebaseReindexConfig
impl<'de> Deserialize<'de> for CodebaseReindexConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CodebaseReindexConfig
Source§impl PartialEq for CodebaseReindexConfig
impl PartialEq for CodebaseReindexConfig
Source§impl Serialize for CodebaseReindexConfig
impl Serialize for CodebaseReindexConfig
impl StructuralPartialEq for CodebaseReindexConfig
Auto Trait Implementations§
impl Forget for CodebaseReindexConfig
impl Freeze for CodebaseReindexConfig
impl Move for CodebaseReindexConfig
impl RefUnwindSafe for CodebaseReindexConfig
impl Send for CodebaseReindexConfig
impl Sync for CodebaseReindexConfig
impl Unpin for CodebaseReindexConfig
impl UnsafeUnpin for CodebaseReindexConfig
impl UnwindSafe for CodebaseReindexConfig
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
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.