Files
open-webui/backend/open_webui
G30 7b1aa749eb perf(retrieval): make URL fetch and file hash non-blocking with asyncio.to_thread (#25822)
- Wrap get_content_from_url() in asyncio.to_thread() inside
  get_sources_from_items() to prevent sync requests.get() from blocking
  the event loop when users attach URL sources to chat messages.
  The same function was already properly wrapped at retrieval.py:1839.

- Wrap hashlib.sha256(contents).hexdigest() in asyncio.to_thread()
  inside upload_file_handler() to prevent CPU-bound hashing from
  blocking the event loop during file uploads (44ms/100MB, scales
  linearly with file size).
2026-06-29 03:46:24 -05:00
..
…
2026-06-17 02:52:35 +02:00
2026-06-29 00:21:37 -05:00
2026-06-29 03:16:59 -05:00
2026-06-29 02:26:27 -05:00
2026-06-01 14:10:40 -07:00
2026-06-29 00:46:45 -05:00
2026-06-29 03:42:36 -05:00
2026-06-17 03:01:11 +02:00
2026-06-29 01:52:07 -05:00
2026-06-29 03:42:36 -05:00
2026-06-25 15:56:10 +01:00
2026-06-29 02:57:58 -05:00