Skip to content
Snippets Groups Projects
Commit bc97cb1c authored by Éloïs's avatar Éloïs
Browse files

[fix] server: modules dbs always opened in memory mode

parent 5b18f330
Branches
No related tags found
1 merge request!1346Opti/gva txs history
...@@ -144,6 +144,7 @@ impl DuniterServer { ...@@ -144,6 +144,7 @@ impl DuniterServer {
.enable_all() .enable_all()
.build()?; .build()?;
let conf_clone = conf.clone(); let conf_clone = conf.clone();
let profile_path_opt_clone = profile_path_opt.map(ToOwned::to_owned);
let threadpool_async_handler = threadpool.async_handler(); let threadpool_async_handler = threadpool.async_handler();
std::thread::spawn(move || { std::thread::spawn(move || {
runtime runtime
...@@ -152,7 +153,7 @@ impl DuniterServer { ...@@ -152,7 +153,7 @@ impl DuniterServer {
currency, currency,
threadpool_async_handler, threadpool_async_handler,
Mempools { txs: txs_mempool }, Mempools { txs: txs_mempool },
None, profile_path_opt_clone,
software_version, software_version,
)) ))
.context("Fail to start duniter modules") .context("Fail to start duniter modules")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment