Skip to content

Commit 8daacf2

Browse files
committed
only limit connections for in memory sqlite
1 parent 362f598 commit 8daacf2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

iceberg-sql-catalog/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ impl SqlCatalog {
5757

5858
let mut pool_options = PoolOptions::new();
5959

60-
if url.starts_with("sqlite") {
60+
if url == "sqlite://" {
6161
pool_options = pool_options.max_connections(1);
6262
}
6363

0 commit comments

Comments
 (0)