Files
open-webui/backend/open_webui
Classic298 55d1db1f38 fix: stream GET /chats/all to prevent OOM on large chat histories (#24461)
Convert the /chats/all endpoint from loading all user chats into memory
at once to a streaming NDJSON response that fetches chats in batches of
100. This prevents Out-of-Memory crashes for users with large chat
histories.

Backend: Added async generator that paginates through chats with
short-lived DB sessions per batch (critical for SQLite lock release).

Frontend: Updated getAllChats to consume the NDJSON stream via
ReadableStream reader, accumulating results for the export file.

Ref: open-webui#22206
2026-05-09 04:11:52 +09:00
..
…
2026-05-09 02:38:08 +09:00
2026-04-24 18:20:10 +09:00
2026-05-09 03:19:48 +09:00
2026-05-09 02:08:08 +09:00
2026-05-09 03:15:53 +09:00
2026-04-19 22:45:54 +09:00
2026-04-12 19:08:30 -05:00
2026-03-17 17:58:01 -05:00
2026-05-09 03:15:53 +09:00
2026-05-09 03:40:23 +09:00
2026-05-09 02:38:08 +09:00
2026-05-09 02:54:09 +09:00
2026-04-14 17:27:31 -05:00
2026-04-24 16:23:28 +09:00
2026-04-21 14:31:04 +09:00
2026-05-09 03:45:56 +09:00
2026-03-17 17:58:01 -05:00