mirror of
https://github.com/meilisearch/MeiliSearch
synced 2025-07-04 12:27:13 +02:00
Use a WithoutTls env
This commit is contained in:
parent
ff8cf38d6b
commit
bef5954741
2 changed files with 3 additions and 1 deletions
|
@ -420,6 +420,7 @@ pub fn update_version_file_for_dumpless_upgrade(
|
|||
if from_major == 1 && from_minor == 12 {
|
||||
let env = unsafe {
|
||||
heed::EnvOpenOptions::new()
|
||||
.read_txn_without_tls()
|
||||
.max_dbs(Versioning::nb_db())
|
||||
.map_size(index_scheduler_opt.task_db_size)
|
||||
.open(&index_scheduler_opt.tasks_path)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue