mirror of
https://github.com/open-webui/open-webui.git
synced 2026-12-01 01:12:43 -05:00
When a photo is sent for an image edit, Open WebUI first rotates and re-encodes it so the provider sees it upright. That work stalled every other chat and request on the server for its full duration, about 130 ms per 12 MP photo and longer with each extra image in the request. It now runs without holding up other users, and the edited images are unchanged. <table> <tr><th>Request</th><th>Longest server stall before</th><th>After</th></tr> <tr><td>1 photo (12 MP)</td><td>136 ms</td><td>23 ms</td></tr> <tr><td>3 photos (12 MP)</td><td>377 ms</td><td>19 ms</td></tr> </table> Relates to #35245