From: Adam Sutton Date: Sat, 5 Jan 2013 12:58:12 +0000 (+0000) Subject: imagecache: another silly mistake in timer periods. X-Git-Tag: v3.5~199 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b71809d544f6e06f0a50a18001b7ec52f5548b5;p=thirdparty%2Ftvheadend.git imagecache: another silly mistake in timer periods. --- diff --git a/src/imagecache.c b/src/imagecache.c index cd2583bee..53198945f 100644 --- a/src/imagecache.c +++ b/src/imagecache.c @@ -370,7 +370,7 @@ static void *_imagecache_thread ( void *p ) RB_FOREACH(img, &_imagecache_by_url, url_link) { if (img->state != IDLE) continue; period = img->failed ? imagecache_fail_period : imagecache_ok_period; - period *= 86400; + period *= 3600; if (period && ((ts.tv_sec - img->updated) > period)) _imagecache_add(img); }