Files
open-webui-ai4me/backend/open_webui
Classic298andClaude f0e0cfcf02 perf: avoid redundant knowledge re-fetch in update_knowledge_access_by_id (#23799)
After set_access_grants, the handler was reloading the same knowledge
record via get_knowledge_by_id, which triggers an extra SELECT plus a
nested fetch of access grants. set_access_grants already returns the
newly-written grants and the local knowledge object is otherwise
unchanged, so update it in place and reuse it for the response.

https://claude.ai/code/session_01S18Lgqbih7Ry2JZUUv8TxF

Co-authored-by: Claude <noreply@anthropic.com>
2026-04-17 14:44:42 +09:00
..
2026-04-17 11:27:58 +09:00
2026-04-17 14:28:18 +09:00
2026-04-17 14:28:18 +09:00
2026-04-17 14:28:18 +09:00
2026-04-17 13:29:51 +09:00
2026-03-23 23:39:52 -05:00
2026-04-12 19:08:30 -05:00
2026-03-17 17:58:01 -05:00
2026-04-17 12:55:56 +09:00
2026-04-17 14:35:13 +09:00
2026-03-24 15:41:26 -05:00
2026-04-14 17:27:31 -05:00
2026-04-17 11:27:58 +09:00
2026-04-17 14:15:36 +09:00
2026-04-17 14:15:36 +09:00
2026-03-17 17:58:01 -05:00