Files
open-webui-custom/backend/open_webui/models
Sihyeon Jang 6ae6cc9741 perf: optimize get_notes_by_user_id to reduce database queries
- Replace inefficient memory-based filtering with database-level filtering
- Add proper access control conditions to SQL query
- Reduce memory usage by filtering at database level instead of loading all notes
- Maintain access control validation with post-filtering for complex cases

This change significantly improves performance for users with many notes
by reducing the number of database queries and memory usage.

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