From 940af6508ce6eb8b5adcc0ceb6f893a5045fabc8 Mon Sep 17 00:00:00 2001 From: Edward Shen Date: Thu, 15 Jul 2021 02:53:00 -0400 Subject: [PATCH] Default metadata path is metadata.db now --- src/cache/disk.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cache/disk.rs b/src/cache/disk.rs index e2bb215..f47d6e5 100644 --- a/src/cache/disk.rs +++ b/src/cache/disk.rs @@ -42,7 +42,7 @@ impl DiskCache { /// notifications when a file has been written. pub async fn new(disk_max_size: Bytes, disk_path: PathBuf) -> Arc { let db_pool = { - let db_url = format!("sqlite:{}/metadata.sqlite", disk_path.to_string_lossy()); + let db_url = format!("sqlite:{}/metadata.db", disk_path.to_string_lossy()); let mut options = SqliteConnectOptions::from_str(&db_url) .unwrap() .create_if_missing(true);