Files
open-webui/backend/open_webui
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 23:28:54 +09:00
2026-11-25 03:13:19 +04:00
2026-10-05 12:03:19 +04:00
2026-11-25 05:11:32 +04:00
2026-11-25 05:11:32 +04:00
2026-11-25 01:46:31 +04:00
2026-11-24 19:10:42 +04:00
2026-11-23 16:21:00 +04:00
2026-11-03 16:25:23 +09:00
2026-11-25 03:40:41 +04:00
2026-11-02 08:48:51 +09:00