We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d054f70 commit 38e022fCopy full SHA for 38e022f
packages/duckdb-server-rust/src/app.rs
@@ -47,13 +47,13 @@ async fn handle_post(
47
}
48
49
pub fn app(
50
- dp_path: Option<&str>,
+ db_path: Option<&str>,
51
connection_pool_size: Option<u32>,
52
cache_size: Option<usize>,
53
) -> Result<Router> {
54
// Database and state setup
55
let db = ConnectionPool::new(
56
- dp_path.unwrap_or(DEFAULT_DB_PATH),
+ db_path.unwrap_or(DEFAULT_DB_PATH),
57
connection_pool_size.unwrap_or(DEFAULT_CONNECTION_POOL_SIZE),
58
)?;
59
let cache = lru::LruCache::new(cache_size.unwrap_or(DEFAULT_CACHE_SIZE).try_into()?);
0 commit comments