diff options
author | fox <[email protected]> | 2021-02-22 17:25:02 +0300 |
---|---|---|
committer | fox <[email protected]> | 2021-02-22 17:25:02 +0300 |
commit | 3f00502305d6dfaaf777483c6581bb7615534ba1 (patch) | |
tree | ab94de41541bf8bd72a1138ec1cb402ef3125f21 /utils/phpstan_tunables.php | |
parent | be4e7b13403666fc477d4b563ea8c075d0fd2022 (diff) | |
parent | 6fbf7ef368520f8f4d2c07c153d1429b2f4ff5e3 (diff) |
Merge pull request 'Let 'RSSUtils::check_feed_favicon' update existing favicons.' (#6) from wn/tt-rss:check-feed-favicon into master
Reviewed-on: https://git.tt-rss.org/fox/tt-rss/pulls/6
Diffstat (limited to 'utils/phpstan_tunables.php')
-rw-r--r-- | utils/phpstan_tunables.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/phpstan_tunables.php b/utils/phpstan_tunables.php index 7d5d8f03a..e192bcdba 100644 --- a/utils/phpstan_tunables.php +++ b/utils/phpstan_tunables.php @@ -27,6 +27,8 @@ // do not cache files larger than that (bytes) define('MAX_DOWNLOAD_FILE_SIZE', 16*1024*1024); // do not download general files larger than that (bytes) + define('MAX_FAVICON_FILE_SIZE', 1*1024*1024); + // do not download favicon files larger than that (bytes) define('CACHE_MAX_DAYS', 7); // max age in days for various automatically cached (temporary) files define('MAX_CONDITIONAL_INTERVAL', 3600*12); |