Files
open-webui/backend/open_webui/routers
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-04-12 18:12:59 -05:00
2026-05-09 02:43:07 +09:00
2026-05-09 01:55:51 +09:00
2026-04-21 13:46:39 +09:00
2026-04-21 15:52:00 +09:00
2026-04-21 15:41:07 +09:00
2026-05-09 02:04:36 +09:00
2026-04-12 18:12:59 -05:00
2026-04-12 18:12:59 -05:00
2026-04-21 15:52:00 +09:00
2026-04-12 14:22:11 -05:00
2026-04-17 11:48:17 +09:00
2026-04-19 22:45:54 +09:00
2026-04-17 14:28:18 +09:00
2026-05-09 01:21:17 +09:00
2026-04-14 17:22:54 -05:00
2026-04-24 15:35:59 +09:00
2026-05-09 01:13:16 +09:00
2026-04-20 08:53:06 +09:00
2026-04-13 14:08:58 -05:00
2026-05-09 04:03:49 +09:00
2026-04-12 14:22:11 -05:00
2026-04-12 14:22:11 -05:00
2026-04-13 14:08:58 -05:00
2026-04-20 08:36:24 +09:00
2026-04-24 18:48:21 +09:00
2026-05-09 01:55:51 +09:00
2026-04-13 14:08:58 -05:00