Use a WithoutTls env

This commit is contained in:
Kerollmops 2025-03-11 15:33:10 +01:00
parent ff8cf38d6b
commit bef5954741
No known key found for this signature in database
GPG key ID: F250A4C4E3AE5F5F
2 changed files with 3 additions and 1 deletions

View file

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