mirror of
https://github.com/open-webui/open-webui.git
synced 2026-11-25 14:57:43 -05:00
For regular users, opening the app read every file attached to their folders in full, extracted text included, one by one, only to confirm they could still see it. Files the user uploaded themselves are now confirmed with one small lookup per folder. Files shared by others still get the full access check, so files the user lost access to are still removed from the folder as before. The list and what each folder shows are unchanged. <table> <tr><th>30 folders x 8 files of 300 KB, SQLite</th><th>Before</th><th>After</th></tr> <tr><td>Folder list, typical load</td><td>335 ms</td><td>44-61 ms</td></tr> <tr><td>Database queries per load</td><td>268</td><td>59</td></tr> </table> Fixes #34861