From c75445087f1d18a61899e5ca0f36bafc6e35b572 Mon Sep 17 00:00:00 2001 From: stephan Date: Fri, 4 Nov 2022 09:02:21 +0000 Subject: Correct sqlite3-wasm.c's SQLITE_DEFAULT_CACHE_SIZE (it's measured in kb, not bytes). FossilOrigin-Name: 479ad980dfe509403e184e39a5aa441171e47b3297e05039f85516e72e9f15be --- ext/wasm/api/sqlite3-wasm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ext/wasm/api/sqlite3-wasm.c') diff --git a/ext/wasm/api/sqlite3-wasm.c b/ext/wasm/api/sqlite3-wasm.c index 203e70a3e..9d04ad129 100644 --- a/ext/wasm/api/sqlite3-wasm.c +++ b/ext/wasm/api/sqlite3-wasm.c @@ -67,7 +67,7 @@ ** larger cache benefits the larger workloads. Speed differences ** between 2x and nearly 3x have been measured with ample page cache. */ -# define SQLITE_DEFAULT_CACHE_SIZE -16777216 +# define SQLITE_DEFAULT_CACHE_SIZE -16384 #endif #if 0 && !defined(SQLITE_DEFAULT_PAGE_SIZE) /* TODO: experiment with this. */ -- cgit v1.2.3