mirror of
https://gitlab.com/famedly/conduit.git
synced 2025-03-24 20:14:50 +03:00
change to use path joining properly
This commit is contained in:
parent
0719377c6a
commit
7c82213ee7
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ pub struct SqliteEngine {
|
|||
impl DatabaseEngine for SqliteEngine {
|
||||
fn open(config: &Config) -> Result<Arc<Self>> {
|
||||
let pool = Pool::new(
|
||||
format!("{}/conduit.db", &config.database_path),
|
||||
Path::new(&config.database_path).join("conduit.db"),
|
||||
config.sqlite_read_pool_size,
|
||||
config.sqlite_cache_kib,
|
||||
)?;
|
||||
|
|
Loading…
Reference in a new issue