mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-07-27 00:31:02 +00:00
fix clippy part1
This commit is contained in:
committed by
Clément Renault
parent
2ba5e3b519
commit
8ec3681cf8
@ -614,7 +614,7 @@ impl IndexScheduler {
|
||||
fs::create_dir_all(&dst)?;
|
||||
// TODO We can't use the open_auth_store_env function here but we should
|
||||
let auth = milli::heed::EnvOpenOptions::new()
|
||||
.map_size(1 * 1024 * 1024 * 1024) // 1 GiB
|
||||
.map_size(1024 * 1024 * 1024) // 1 GiB
|
||||
.max_dbs(2)
|
||||
.open(&self.auth_path)?;
|
||||
auth.copy_to_path(dst.join("data.mdb"), CompactionOption::Enabled)?;
|
||||
|
Reference in New Issue
Block a user