Files
open-webui-custom/backend/open_webui/models
Sihyeon Jang eff06538a6 perf: fix N+1 query issues in user group access control validation
- Pre-fetch user group IDs in get_*_by_user_id methods across models layer
- Pass user_group_ids to has_access to avoid repeated group queries
- Reduce query count from 1+N to 1+1 pattern for access control validation
- Apply consistent optimization across knowledge, models, notes, prompts, and tools

Signed-off-by: Sihyeon Jang <sihyeon.jang@navercorp.com>
2025-09-03 05:56:48 +09:00
..
2025-08-21 02:39:25 +04:00
2024-12-30 23:06:34 -08:00
2025-08-19 03:24:10 +04:00
2025-08-10 02:10:18 +04:00
2025-08-21 22:02:11 +04:00
2025-08-26 22:05:27 +04:00
2025-07-20 15:00:24 +04:00
2025-01-02 20:48:50 -08:00
2025-08-19 03:24:10 +04:00
2025-08-21 02:39:25 +04:00