hardcode sqlite database file name

Naming it after the program is kinda silly.
This commit is contained in:
Charles Hall 2024-10-08 19:02:18 -07:00
parent 989cad2715
commit 5e3825c37c
No known key found for this signature in database
GPG key ID: 7B8E0645816E07CF

View file

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