12 Commits

Author SHA1 Message Date
iacore 5137bf09c2 centralize logging 2024-08-28 13:39:15 +00:00
iacore 65b68862b9 catch error and restore headers properly 2024-08-28 13:39:15 +00:00
VnPower fff9695b66 Add base for limiter 2024-08-28 13:39:15 +00:00
iacore 028ea06ad9 write about caching 2024-08-28 13:39:15 +00:00
iacore ad057345e9 fix it more 2024-08-28 13:39:15 +00:00
iacore 35954513c5 rename files 2024-08-27 11:08:23 +00:00
iacore 0931426a3d Migrate fully to Render(...) 2024-08-24 09:51:31 +00:00
iacore 10134b989f simplify proxy_checker log message 2024-08-24 08:28:14 +00:00
VnPower a530ea0cda Option to disable image proxy checker 2024-08-24 09:00:14 +07:00
VnPower b415ff5e55 Bump PixivFE version to v2.7.1 2024-08-24 08:45:37 +07:00
perennial 2caa497125 Implement proxy checker
This commit implements a system to periodically verify the functionality
of image proxies. It adds a new environment variable
PIXIVFE_PROXY_CHECK_INTERVAL to control the check interval, defaulting
to 8 hours.

The change includes a new proxy_checker.go file with the core logic for
the proxy checker, updates to config.go to support the new feature, as
well as modifications to main.go and settings.go to integrate the
checker.
2024-08-20 19:16:06 +10:00
iacore f80a3994a0 move files around 2024-08-17 05:23:32 +00:00