diff options
| author | Christian Cleberg <[email protected]> | 2026-07-15 02:23:59 -0500 |
|---|---|---|
| committer | Christian Cleberg <[email protected]> | 2026-07-15 02:23:59 -0500 |
| commit | 40d405f318a109aad5e7de7ad71fedcc04bb0e86 (patch) | |
| tree | 9ef97d5a0b01a65c5a9d32a32134a9e2acc840f2 /static/html/about.htm | |
| parent | 672ff7f44b0061e179fb33c16418738d6455a4e9 (diff) | |
| download | skunky-art-40d405f318a109aad5e7de7ad71fedcc04bb0e86.tar.gz skunky-art-40d405f318a109aad5e7de7ad71fedcc04bb0e86.tar.bz2 skunky-art-40d405f318a109aad5e7de7ad71fedcc04bb0e86.zip | |
fix(cache): correct max-size megabyte conversion
max-size is documented in SETUP.md as megabytes, but the conversion was
`*= 1024 ^ 2`. In Go `^` is XOR, not exponentiation, so this multiplied
by 1026 rather than 1048576 -- a configured max-size of 200 produced a
~205 KB cap instead of 200 MB, wiping the cache almost immediately.
This changes runtime behaviour: the cache will now grow to the size the
config actually asks for.
Diffstat (limited to 'static/html/about.htm')
0 files changed, 0 insertions, 0 deletions
