rDrama/files
Snakes 9f7adb2614
Fix recent CPU spikes from image encoding.
Certain animated images take an exceedingly long time (~minutes) to
encode to WEBP using method=6. Such a file was obtained, and it
encoded significantly faster using method=5 and somehow turned out
smaller than the result generated with method=6. We switch now to
use method=5 so we stop getting occasional massive increases in
CPU load when multiple users upload animations at the same time.

Additionally, a timeout was added to the ImageMagick subprocess just
in case there are even more pathological files in the future. Better
to error out than have to get someone to kill the process.
2022-11-06 00:48:54 -04:00
..
assets sneed 2022-11-05 21:11:15 +00:00
classes improve ban modal and add chud modal 2022-11-05 04:12:22 +02:00
helpers Fix recent CPU spikes from image encoding. 2022-11-06 00:48:54 -04:00
mail actions: move user-only actions to useractions, which gets rid of a circular dependency 2022-11-01 18:46:56 -05:00
routes constantify image extensions and fix imgur .gif bug 2022-11-05 23:01:23 +02:00
templates stats: add time 2022-11-05 19:15:13 -05:00
tests fix this https://rdrama.org/post/18459/marseycapywalking-megathread-for-bugs-and-suggestions/2847925?context=8#context 2022-10-06 08:26:10 +02:00
__init__.py Add trailing final newlines to source files. 2022-09-29 01:43:29 -04:00
__main__.py move 2 headers from python to nginx 2022-10-30 02:46:50 +02:00
cli.py cli.py: fix startup operations using wrong WD. 2022-09-19 23:26:43 -04:00