1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 18:35:57 +00:00

Try to limit max favicon size, don't store current/old in a var.

This commit is contained in:
wn_
2021-02-21 23:30:31 +00:00
parent cb401af6f6
commit 02a9485966
3 changed files with 12 additions and 4 deletions

View File

@@ -68,6 +68,8 @@
// do not cache files larger than that (bytes)
define_default('MAX_DOWNLOAD_FILE_SIZE', 16*1024*1024);
// do not download general files larger than that (bytes)
define_default('MAX_FAVICON_FILE_SIZE', 1*1024*1024);
// do not download favicon files larger than that (bytes)
define_default('CACHE_MAX_DAYS', 7);
// max age in days for various automatically cached (temporary) files
define_default('MAX_CONDITIONAL_INTERVAL', 3600*12);