diff options
author | Seif Lotfy <seif@lotfy.com> | 2013-04-15 16:36:51 +0200 |
---|---|---|
committer | Seif Lotfy <seif@lotfy.com> | 2013-04-16 15:21:50 +0200 |
commit | d236022dffda56d71aba0a7b21befec6090b989a (patch) | |
tree | 806a9bb6f8573eef7b9ea2749c8efa4d32718c0c /src | |
parent | 383f41b8863d6c62102cf6202fc1d010912620de (diff) | |
download | zeitgeist-d236022dffda56d71aba0a7b21befec6090b989a.tar.gz |
Enable setting of sqlite cache_size PRAGMA
Allow cache size setting for db-reader and engine.
A cache is set per connection where the 768 KB is allocated to the
engine and 4 MB for each connection via libzeitgeist.
Update DB core schema
Diffstat (limited to 'src')
-rw-r--r-- | src/engine.vala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/engine.vala b/src/engine.vala index e98b4d3d..5190f30a 100644 --- a/src/engine.vala +++ b/src/engine.vala @@ -63,6 +63,7 @@ public class Engine : DbReader construct { extension_store = new ExtensionStore (this); + database.set_cache_size (24); } public string[] get_extension_names () |