1
0
mirror of https://github.com/Rouji/single_php_filehost.git synced 2025-04-04 16:39:34 +00:00

doesn't need to be uneven, I should l2maths

This commit is contained in:
Rj48 2016-12-22 22:37:39 +01:00
parent ccb5da9d6e
commit 09e4a35f82

View File

@ -41,4 +41,3 @@ $fileMaxAge = $MIN_FILEAGE +
```
...which is a basic exponential decay curve that favours smaller files, meaning small files are kept longer and really big ones are deleted relatively quickly.
**$DECAY_EXP** is one of the configurable globals and basically makes the curve more or less exponential-looking. Set to 1 for a completely linear relationship.
**NOTE:** $DECAY_EXP should always be an uneven number