Files
open-webui/backend/open_webui
Classic298 a710766e33 perf: SCIM group syncs that add many members finish in seconds instead of minutes (#35629)
When an identity provider added many people to a group in one sync, Open WebUI added them one at a time and re-checked the whole group and every connected session for each person, so large groups took minutes. All the people added in one request are now added together, and the resulting group membership is the same as before.

<table>
<tr><th>Members added in one sync</th><th>SQLite before</th><th>SQLite after</th><th>PostgreSQL before</th><th>PostgreSQL after</th></tr>
<tr><td>500</td><td>2.0 s</td><td>0.07 s</td><td>3.0 s</td><td>0.17 s</td></tr>
<tr><td>2,000</td><td>13.4 s</td><td>0.19 s</td><td>14.0 s</td><td>0.62 s</td></tr>
<tr><td>8,000</td><td>187 s</td><td>1.4 s</td><td>158 s</td><td>2.4 s</td></tr>
<tr><td>2,000 with 5,000 users online</td><td>19.7 s</td><td>0.96 s</td><td>31.2 s</td><td>0.32 s</td></tr>
</table>
2026-12-05 07:56:35 +04:00
..
2026-11-17 23:28:54 +09:00
2026-12-05 06:57:35 +04:00
2026-12-05 07:06:03 +04:00
2026-12-04 05:48:10 +04:00
2026-12-04 07:30:14 +04:00
2026-11-25 03:13:19 +04:00
2026-10-05 12:03:19 +04:00
2026-12-05 06:57:35 +04:00
2026-12-05 06:57:35 +04:00
2026-12-05 06:57:35 +04:00
2026-11-24 19:10:42 +04:00
2026-12-05 06:57:35 +04:00
2026-11-03 16:25:23 +09:00
2026-12-05 06:57:35 +04:00
2026-12-04 07:30:14 +04:00