From f24ab2909866aef8daef5d0e57d26fb932be6d20 Mon Sep 17 00:00:00 2001 From: ejurgensen Date: Thu, 16 Oct 2014 22:15:35 +0200 Subject: [PATCH] Extend cache rebuild to 60 seconds so we are more certain that the library is 'idle' --- src/daap_cache.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/daap_cache.c b/src/daap_cache.c index 1787095b..47512442 100644 --- a/src/daap_cache.c +++ b/src/daap_cache.c @@ -85,8 +85,8 @@ static int g_initialized; static sqlite3 *g_db_hdl; static char *g_db_path; -// After being triggered wait 5 seconds before rebuilding daapcache -static struct timeval g_wait = { 5, 0 }; +// After being triggered wait 60 seconds before rebuilding daapcache +static struct timeval g_wait = { 60, 0 }; // The user may configure a threshold (in msec), and queries slower than // that will have their reply cached