CPU-intensive image operations (decode, Lanczos3 resize, JPEG encode) were running directly on the async worker thread, blocking all other requests for 100-500ms per upload. Wrap in spawn_blocking in both upload_image() and save_deferred_image(). |
||
|---|---|---|
| .. | ||
| analytics | ||
| auth | ||
| coffee | ||
| system | ||
| images.rs | ||
| macros.rs | ||
| mod.rs | ||