Skip to content

Commit 38e022f

Browse files
authored
fix: typo (#727)
1 parent d054f70 commit 38e022f

File tree

1 file changed

+2
-2
lines changed
  • packages/duckdb-server-rust/src

1 file changed

+2
-2
lines changed

packages/duckdb-server-rust/src/app.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,13 @@ async fn handle_post(
4747
}
4848

4949
pub fn app(
50-
dp_path: Option<&str>,
50+
db_path: Option<&str>,
5151
connection_pool_size: Option<u32>,
5252
cache_size: Option<usize>,
5353
) -> Result<Router> {
5454
// Database and state setup
5555
let db = ConnectionPool::new(
56-
dp_path.unwrap_or(DEFAULT_DB_PATH),
56+
db_path.unwrap_or(DEFAULT_DB_PATH),
5757
connection_pool_size.unwrap_or(DEFAULT_CONNECTION_POOL_SIZE),
5858
)?;
5959
let cache = lru::LruCache::new(cache_size.unwrap_or(DEFAULT_CACHE_SIZE).try_into()?);

0 commit comments

Comments
 (0)