diff options
Diffstat (limited to 'cacher.lua')
| -rw-r--r-- | cacher.lua | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -12,7 +12,8 @@ local function exec(obj, opts, call_opts, func, func_name, ...) local path = mp_utils.join_path(opts.directory, fn) local f = mp_utils.file_info(path) local data - local miss = not f or os.time() - f.mtime > opts.time + local miss = call_opts.force or not f or + os.time() - f.mtime > opts.time if miss then if call_opts.before_miss then |
