diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-02-18 12:56:43 +0000 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-02-18 12:56:43 +0000 |
commit | fbf727498eefbe38d6d439b1b315f290e58aa051 (patch) | |
tree | c24acc4fdcbc17774f9d4ef4b23501108adc747c /src/libstat/stat_config.c | |
parent | 29a06a80f432749fd707aecfb1612da5e4af76aa (diff) | |
download | rspamd-fbf727498eefbe38d6d439b1b315f290e58aa051.tar.gz rspamd-fbf727498eefbe38d6d439b1b315f290e58aa051.zip |
Allow sqlite3 cache customization.
Diffstat (limited to 'src/libstat/stat_config.c')
-rw-r--r-- | src/libstat/stat_config.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/libstat/stat_config.c b/src/libstat/stat_config.c index 574d25fd3..b8ad6ec30 100644 --- a/src/libstat/stat_config.c +++ b/src/libstat/stat_config.c @@ -61,7 +61,8 @@ static struct rspamd_stat_cache stat_caches[] = { { .name = RSPAMD_DEFAULT_CACHE, .init = rspamd_stat_cache_sqlite3_init, - .process = rspamd_stat_cache_sqlite3_process + .process = rspamd_stat_cache_sqlite3_process, + .close = rspamd_stat_cache_sqlite3_close } }; |