Files
open-webui/backend/open_webui/models
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-02 08:48:51 +09:00
2026-10-26 16:09:25 +09:00
2026-11-02 08:48:51 +09:00
2026-11-05 12:01:25 +09:00
2026-11-02 08:48:51 +09:00
2026-11-14 00:45:43 +09:00
2026-11-02 08:48:51 +09:00
2026-11-05 22:38:02 +09:00
2026-11-16 15:16:21 +09:00
2026-11-16 17:52:06 +09:00
2026-11-15 16:56:45 +09:00
2026-10-31 16:50:01 +09:00
2026-11-02 08:48:51 +09:00
2026-11-02 08:48:51 +09:00
2026-11-14 00:14:28 +09:00
2026-11-02 08:48:51 +09:00
2026-11-02 08:48:51 +09:00
2026-11-02 08:48:51 +09:00
2026-07-24 01:54:36 -04:00
2026-11-08 11:52:13 +09:00
2026-10-09 17:05:53 +04:00
2026-11-08 21:15:39 +09:00
2026-11-02 08:48:51 +09:00
2026-11-11 13:49:51 +09:00
2026-11-02 08:48:51 +09:00
2026-11-02 08:48:51 +09:00
2026-11-02 08:48:51 +09:00
2026-10-09 16:31:34 +04:00
2026-11-02 08:48:51 +09:00
2026-11-13 22:40:53 +09:00
2026-11-02 08:48:51 +09:00