imagecache: another silly mistake in timer periods.
This commit is contained in:
parent
9247faa7af
commit
4b71809d54
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue