Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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
Jonathan Perkin committed Aug 10, 2015
1 parent bb51acb commit 65485dd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pkgindb.c
Expand Up @@ -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",
Expand Down

0 comments on commit 65485dd

Please sign in to comment.