Skip to content
Permalink
Browse files

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.
  • Loading branch information
jperkin committed Aug 10, 2015
1 parent bb51acb commit 65485dda594c27c8e5ad09121825114dcfbb8362
Showing with 0 additions and 1 deletion.
  1. +0 −1 pkgindb.c
@@ -42,7 +42,6 @@ static FILE *sql_log_fp;
static int repo_counter = 0;

static const char *pragmaopts[] = {
"cache_size = 1000000",
"locking_mode = EXCLUSIVE",
"empty_result_callbacks = 1",
"synchronous = OFF",

0 comments on commit 65485dd

Please sign in to comment.
You can’t perform that action at this time.