Files
open-webui/backend/open_webui/utils
Classic298 956ee485f9 fix: concurrent requests stall for 30 seconds and fail with database session sharing on (#34185)
With DATABASE_ENABLE_SESSION_SHARING on (off by default), the chat lists and the inbox held the request's database connection while they opened a second one for a small extra read. A burst of page loads then took every pooled connection, each request waited for a second connection, and they failed after the 30 second pool timeout with "QueuePool limit ... reached". Those extra reads now run on the request's own connection. In a burst of 80 page loads with a pool of 5, 11 failed on SQLite and 58 on PostgreSQL before this change, and none fail now.

Fixes #34184
2026-11-16 19:15:17 +09:00
..
2026-11-10 21:18:18 +09:00
2026-11-16 15:16:21 +09:00
2026-11-16 13:15:49 +09:00
2026-11-13 17:36:00 +09:00
2026-10-14 17:10:08 +04:00
2026-11-02 00:31:46 +09:00
2026-11-09 08:05:51 +09:00
2026-11-05 11:41:25 +09:00
2026-11-14 00:45:43 +09:00
2026-11-10 21:18:18 +09:00
2026-10-12 17:29:04 +04:00
2026-07-23 02:54:56 -04:00
2026-11-02 09:52:30 +09:00
2026-11-13 17:36:00 +09:00
2026-07-31 17:41:14 -04:00
2026-11-13 17:36:00 +09:00
2026-11-13 17:36:00 +09:00
2026-11-02 08:48:51 +09:00
2026-10-25 08:24:14 +09:00
2026-07-26 23:09:22 -04:00
2026-11-13 17:36:00 +09:00
2026-11-05 16:54:50 +09:00
2026-11-02 08:48:51 +09:00
2026-11-02 08:48:51 +09:00
2026-03-17 17:58:01 -05:00
2026-08-24 18:29:36 -04:00
2026-11-02 12:45:15 +09:00
2026-10-16 14:31:39 +04:00
2026-11-13 17:36:00 +09:00
2026-11-06 13:40:53 +09:00
2026-11-14 01:15:47 +09:00
2026-11-16 13:15:49 +09:00
2026-11-13 17:36:00 +09:00
2026-11-16 15:14:20 +09:00
2026-11-11 15:34:33 +09:00
2026-11-16 13:15:49 +09:00
2026-11-02 08:48:51 +09:00
2026-10-11 15:55:57 +04:00
2026-11-02 08:48:51 +09:00