kshitijk4poor
c67b0a1dc4
refactor(gateway): name the media-cache max age and lstat cache files once
...
The hourly housekeeping loop hard-coded 24 while every cache accessor
defaults to MEDIA_CACHE_MAX_AGE_HOURS; use the constant so the two cannot
drift (docstring too). iter_cache_files did is_symlink + is_file + stat
per item behind an Optional-cutoff helper; one lstat per item with
S_ISREG (symlinks still excluded, unreadable entries skipped) and a
hoisted generated-root string give identical results with fewer syscalls.
2026-10-02 01:18:03 +05:30
..
2026-10-02 01:18:03 +05:30
2026-10-01 12:27:27 -07:00
2026-09-19 01:38:09 -04:00
2026-09-23 08:09:47 -07:00
2026-09-27 20:47:41 +05:30
2026-09-28 10:21:41 -07:00
2026-09-28 10:21:41 -07:00
2026-10-02 00:46:21 +05:30
2026-09-18 17:26:10 -04:00
2026-09-20 20:13:19 -07:00
2026-09-23 06:03:10 -07:00
2026-09-30 20:10:03 -04:00
2026-09-29 19:33:09 -05:00
2026-09-23 15:26:34 -04:00
2026-09-28 10:21:41 -07:00
2026-09-20 17:01:05 -07:00
2026-09-28 10:21:41 -07:00
2026-09-18 01:43:35 +05:30
2026-09-24 11:50:30 -04:00
2026-09-28 13:30:57 -07:00
2026-10-02 01:17:03 +05:30
2026-09-28 13:30:57 -07:00
2026-09-28 10:21:41 -07:00
2026-09-28 10:21:41 -07:00
2026-09-28 10:21:41 -07:00
2026-09-28 10:21:41 -07:00
2026-09-28 10:21:41 -07:00
2026-09-17 00:15:35 -07:00
2026-09-28 10:21:41 -07:00
2026-09-23 06:46:02 -07:00
2026-09-28 14:16:18 -07:00
2026-09-28 10:21:41 -07:00
2026-09-21 00:58:39 -04:00
2026-10-01 22:59:37 +05:30
2026-09-28 10:21:41 -07:00
2026-09-23 18:29:35 -05:00
2026-09-17 13:52:05 -04:00
2026-09-23 15:26:34 -04:00
2026-09-29 02:06:58 +05:30
2026-09-19 01:43:50 -04:00
2026-09-23 21:26:49 +05:30
2026-09-28 10:21:41 -07:00
2026-09-28 10:21:41 -07:00
2026-09-26 20:07:47 +05:30
2026-09-22 07:05:11 -04:00
2026-09-29 19:33:09 -05:00
2026-09-28 15:54:07 +05:30
2026-09-28 14:16:18 -07:00
2026-09-29 23:54:34 +05:30
2026-09-20 15:30:45 -07:00
2026-10-02 01:13:21 +05:30
2026-09-22 16:15:34 +05:30
2026-09-17 20:56:27 +05:30
2026-09-28 14:16:18 -07:00
2026-10-02 01:13:21 +05:30
2026-09-29 07:44:13 +00:00
2026-09-22 09:50:22 -07:00
2026-09-23 08:25:28 -07:00
2026-09-28 14:16:18 -07:00
2026-09-28 14:16:18 -07:00
2026-10-01 18:07:32 +05:30
2026-09-28 14:16:18 -07:00
2026-09-29 18:33:44 +05:30
2026-10-01 18:07:32 +05:30
2026-09-29 15:57:52 -05:00
2026-09-28 14:16:18 -07:00
2026-09-19 01:28:23 -07:00
2026-10-02 01:18:03 +05:30
2026-09-19 10:38:30 -07:00
2026-09-28 04:34:30 -07:00
2026-09-19 02:28:50 -07:00
2026-09-28 04:34:30 -07:00
2026-09-28 15:54:07 +05:30
2026-09-28 15:54:07 +05:30
2026-09-28 12:43:03 -07:00
2026-09-15 04:12:13 -07:00
2026-09-28 15:54:07 +05:30
2026-09-18 10:06:25 -07:00
2026-09-28 10:21:41 -07:00
2026-09-18 17:26:10 -04:00
2026-09-24 11:50:30 -04:00
2026-09-28 12:43:03 -07:00
2026-09-28 12:23:25 -07:00
2026-09-20 13:37:10 -07:00
2026-09-28 14:16:18 -07:00
2026-09-28 14:16:18 -07:00
2026-09-29 12:55:46 -07:00
2026-09-28 14:16:18 -07:00
2026-09-29 07:44:13 +00:00
2026-09-28 14:16:18 -07:00
2026-09-28 13:30:57 -07:00
2026-09-28 10:21:41 -07:00
2026-09-26 11:24:50 -07:00
2026-09-28 12:43:03 -07:00
2026-09-28 10:21:41 -07:00
2026-09-28 10:21:41 -07:00
2026-09-19 03:35:50 -07:00
2026-09-28 10:21:41 -07:00
2026-09-20 00:09:14 -07:00
2026-09-29 15:57:52 -05:00
2026-09-27 01:05:06 +05:30
2026-09-18 09:46:35 -07:00
2026-09-18 01:43:35 +05:30
2026-09-18 17:26:10 -04:00