diff options
| author | Maria Lisina <sekoohaka.sarisan@gmail.com> | 2025-12-31 03:54:06 +0300 |
|---|---|---|
| committer | Maria Lisina <sekoohaka.sarisan@gmail.com> | 2025-12-31 03:54:06 +0300 |
| commit | 716a2b04810d6c75a6709f4c9726628aa3d70a11 (patch) | |
| tree | 89af86255542f2e930f927a08d9683e75c1c3698 | |
| parent | 420216f69204a6720816ef03cfc73c1fce5a8cf9 (diff) | |
submodules/timer_uncache: Remove 20 extra seconds of cache expiration time
Signed-off-by: Maria Lisina <sekoohaka.sarisan@gmail.com>
| -rw-r--r-- | submodules/timer_uncache.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/submodules/timer_uncache.zsh b/submodules/timer_uncache.zsh index bbccd1d..4af2543 100644 --- a/submodules/timer_uncache.zsh +++ b/submodules/timer_uncache.zsh @@ -17,7 +17,7 @@ do file_ctime=$(strftime %s) file_mtime=$(stat +mtime "${file}") - if [[ $((file_ctime - file_mtime)) -gt $((cache_time + 20)) ]] + if [[ $((file_ctime - file_mtime)) -gt ${cache_time} ]] then rm -f "${file}" fi |
