fix clippy part1

This commit is contained in:
Irevoire 2022-10-26 15:14:46 +02:00 committed by Clément Renault
parent 2ba5e3b519
commit 8ec3681cf8
No known key found for this signature in database
GPG key ID: 92ADA4E935E71FA4
6 changed files with 16 additions and 16 deletions

View file

@ -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)?;