Add slow DAAP queries to cache automatically

This commit is contained in:
ejurgensen
2014-08-24 01:23:23 +02:00
parent cf091e8d8b
commit 31ef4d4e13
5 changed files with 201 additions and 63 deletions

View File

@@ -53,7 +53,8 @@ static cfg_opt_t sec_general[] =
CFG_INT("db_pragma_synchronous", -1, CFGF_NONE),
CFG_INT_CB("loglevel", E_LOG, CFGF_NONE, &cb_loglevel),
CFG_BOOL("ipv6", cfg_false, CFGF_NONE),
CFG_STR("daapcache_path", NULL, CFGF_NONE),
CFG_STR("daapcache_path", STATEDIR "/cache/" PACKAGE "/daapcache.db", CFGF_NONE),
CFG_INT("daapcache_threshold", 1000, CFGF_NONE),
CFG_END()
};