Skip to content

Commit 65485dd

Browse files
committed
Remove the 1MB sqlite cache setting.
Testing against the SmartOS 2015Q1 x86_64 repository, using the default cache size shows no difference in performance, but reduces the heap size required from 29MB to 9MB.
1 parent bb51acb commit 65485dd

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pkgindb.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ static FILE *sql_log_fp;
4242
static int repo_counter = 0;
4343

4444
static const char *pragmaopts[] = {
45-
"cache_size = 1000000",
4645
"locking_mode = EXCLUSIVE",
4746
"empty_result_callbacks = 1",
4847
"synchronous = OFF",

0 commit comments

Comments
 (0)