Files
open-webui-ai4me/backend/open_webui/routers
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-12 18:12:59 -05:00
2026-04-17 13:04:07 +09:00
2026-04-13 14:08:58 -05:00
2026-04-13 14:08:58 -05:00
2026-04-13 14:08:58 -05:00
2026-04-17 10:16:32 +09:00
2026-04-13 18:20:46 -05:00
2026-04-12 18:12:59 -05:00
2026-04-14 10:55:11 -05:00
2026-04-12 18:12:59 -05:00
2026-04-13 14:08:58 -05:00
2026-04-12 14:22:11 -05:00
2026-04-17 11:48:17 +09:00
2026-04-17 14:28:18 +09:00
2026-04-17 13:33:11 +09:00
2026-04-14 17:22:54 -05:00
2026-04-17 14:15:36 +09:00
2026-04-13 14:29:27 -05:00
2026-03-24 04:49:48 -05:00
2026-04-13 14:08:58 -05:00
2026-04-17 14:28:18 +09:00
2026-04-12 14:22:11 -05:00
2026-04-12 14:22:11 -05:00
2026-04-13 14:08:58 -05:00
2026-04-12 14:22:11 -05:00
2026-04-13 14:08:58 -05:00
2026-04-13 14:08:58 -05:00