Skip to content

Commit 13d1045

Browse files
committed
bump zstd_vfs for web_small_KiB
1 parent ab6c27c commit 13d1045

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ endif()
1818
FetchContent_Declare(
1919
sqlite_zstd_vfs
2020
GIT_REPOSITORY https://github.com/mlin/sqlite_zstd_vfs.git
21-
GIT_TAG 6d1cd2b
21+
GIT_TAG fe754eb
2222
)
2323
FetchContent_MakeAvailable(sqlite_zstd_vfs)
2424
FetchContent_MakeAvailable(sqlitecpp)

src/genomicsqlite.cc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@ std::string GenomicSQLiteDefaultConfigJSON() {
7171
"web_log": 2,
7272
"web_insecure": false,
7373
"web_dbi_url": "",
74-
"web_nodbi": false
74+
"web_nodbi": false,
75+
"web_small_KiB": 64
7576
})";
7677
}
7778

@@ -186,6 +187,7 @@ string GenomicSQLiteURI(const string &dbfile, const string &config_json = "") {
186187
uri << "&web_dbi_url=" << SQLiteNested::urlencode(web_dbi_url);
187188
}
188189
}
190+
uri << "&web_small_KiB=" << cfg.GetInt("$.web_small_KiB");
189191
}
190192
int threads = cfg.GetInt("$.threads");
191193
uri << "&outer_cache_size=" << to_string(-64 * cfg.GetInt("$.page_cache_MiB"))

0 commit comments

Comments
 (0)