Files
open-webui/backend/open_webui/models
Classic298 4ca96cffc8 fix: deleting a chat while its background sub-agent runs leaves the chat in place on Postgres (#35035)
On Postgres with Redis, deleting a chat whose background sub-agent was still working often failed without an error. The sub-agent stopped and its thread went away, but the chat stayed in the sidebar. Stopping the sub-agent makes it post its result into that same chat, and that write and the delete blocked each other until the database cancelled one of them, usually the delete. Deleting a chat now locks the chat first, like every other write to a chat, so the two run one after the other. Deleting all chats or a folder's chats could clash the same way and gets the same change.

Fixes #35034
2026-11-25 05:15:01 +04:00
..
2026-11-17 17:02:34 +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-22 17:13:34 +04:00
2026-11-02 08:48:51 +09:00
2026-11-05 22:38:02 +09:00
2026-11-25 05:03:58 +04:00
2026-11-24 22:11:32 +04:00
2026-11-21 22:27:07 +04:00
2026-11-22 15:54:36 +04:00
2026-11-25 02:36:30 +04:00
2026-11-22 17:13:34 +04:00
2026-11-02 08:48:51 +09:00
2026-07-24 01:54:36 -04:00
2026-10-09 17:05:53 +04:00
2026-11-25 02:15:42 +04:00
2026-11-23 16:21:00 +04: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-10-09 16:31:34 +04:00
2026-11-02 08:48:51 +09:00
2026-11-23 16:10:09 +04:00
2026-11-02 08:48:51 +09:00