]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
imagecache: another silly mistake in timer periods.
authorAdam Sutton <dev@adamsutton.me.uk>
Sat, 5 Jan 2013 12:58:12 +0000 (12:58 +0000)
committerAdam Sutton <dev@adamsutton.me.uk>
Sat, 5 Jan 2013 12:58:12 +0000 (12:58 +0000)
src/imagecache.c

index cd2583beed80400f516e9f8a9f2bd41820e3165c..53198945fb79c8a3e80dd8623cc6575245aeef4c 100644 (file)
@@ -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);
         }