mirror of
https://gitlab.computer.surgery/matrix/grapevine.git
synced 2025-12-16 23:31:24 +01:00
hardcode sqlite database file name
Naming it after the program is kinda silly.
This commit is contained in:
parent
989cad2715
commit
5e3825c37c
1 changed files with 1 additions and 8 deletions
|
|
@ -67,14 +67,7 @@ pub(crate) struct Engine {
|
|||
|
||||
impl Engine {
|
||||
pub(crate) fn open(config: &Config) -> Result<Self> {
|
||||
let path = Path::new(&config.database.path).join(format!(
|
||||
"{}.db",
|
||||
if config.conduit_compat {
|
||||
"conduit"
|
||||
} else {
|
||||
"grapevine"
|
||||
}
|
||||
));
|
||||
let path = Path::new(&config.database.path).join("sqlite.db");
|
||||
|
||||
// calculates cache-size per permanent connection
|
||||
// 1. convert MB to KiB
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue