Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
2246: Release v0.26.1: bring "fix panic at start" commit (meilisearch#2243) into stable r=MarinPostma a=curquiza

2 commits
- cherry pick `32843f30d973349122ec5a37469ee09e6002b6f3` (merged in meilisearch#2243)
- change the version in the Cargo toml files (from v0.26.0 to v0.26.1)

Co-authored-by: ad hoc <postma.marin@protonmail.com>
Co-authored-by: Clémentine Urquizar <clementine@meilisearch.com>
  • Loading branch information
3 people authored Mar 16, 2022
2 parents b669a73 + 7468a5e commit 3273fe0
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion meilisearch-auth/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "meilisearch-auth"
version = "0.26.0"
version = "0.26.1"
edition = "2021"

[dependencies]
Expand Down
2 changes: 1 addition & 1 deletion meilisearch-error/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "meilisearch-error"
version = "0.26.0"
version = "0.26.1"
authors = ["marin <postma.marin@protonmail.com>"]
edition = "2021"

Expand Down
2 changes: 1 addition & 1 deletion meilisearch-http/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ description = "Meilisearch HTTP server"
edition = "2021"
license = "MIT"
name = "meilisearch-http"
version = "0.26.0"
version = "0.26.1"

[[bin]]
name = "meilisearch"
Expand Down
2 changes: 1 addition & 1 deletion meilisearch-lib/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "meilisearch-lib"
version = "0.26.0"
version = "0.26.1"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
6 changes: 3 additions & 3 deletions meilisearch-lib/src/options.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,20 +52,20 @@ pub struct SchedulerConfig {

// The maximum number of updates of the same type that can be batched together.
// If unspecified, this is unlimited. A value of 0 is interpreted as 1.
#[clap(long, requires = "enable-autobatching", hide = true)]
#[clap(long, requires = "enable-auto-batching", hide = true)]
pub max_batch_size: Option<usize>,

// The maximum number of documents in a document batch. Since batches must contain at least one
// update for the scheduler to make progress, the number of documents in a batch will be at
// least the number of documents of its first update.
#[clap(long, requires = "enable-autobatching", hide = true)]
#[clap(long, requires = "enable-auto-batching", hide = true)]
pub max_documents_per_batch: Option<usize>,

/// Debounce duration in seconds
///
/// When a new task is enqueued, the scheduler waits for `debounce_duration_sec` seconds for new updates before
/// starting to process a batch of updates.
#[clap(long, requires = "enable-autobatching", hide = true)]
#[clap(long, requires = "enable-auto-batching", hide = true)]
pub debounce_duration_sec: Option<u64>,
}

Expand Down

0 comments on commit 3273fe0

Please sign in to comment.