Files
open-webui-ai4me/backend
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
..
2024-09-06 04:59:20 +02:00
2026-03-24 19:43:30 -05:00
2026-04-13 23:40:09 -05:00
2026-04-13 23:40:09 -05:00
2026-03-24 19:43:30 -05:00
2026-03-24 19:43:30 -05:00