mirror of
https://github.com/amtoaer/bili-sync.git
synced 2026-07-12 16:11:32 +08:00
feat: sqlite 开启 Wal,移除不必要的 Arc,妥善释放数据库 (#421)
This commit is contained in:
@@ -21,7 +21,7 @@ use crate::config::VersionedConfig;
|
||||
struct Asset;
|
||||
|
||||
pub async fn http_server(
|
||||
database_connection: Arc<DatabaseConnection>,
|
||||
database_connection: DatabaseConnection,
|
||||
bili_client: Arc<BiliClient>,
|
||||
log_writer: LogHelper,
|
||||
) -> Result<()> {
|
||||
|
||||
Reference in New Issue
Block a user