Files
galaxy/test/unit/data/model/db
mvdbeek 2d1a47af51 Fix slow get_private_role_user_emails_dict query by passing role_ids filter
The function was doing a full table scan of all private role-to-email
mappings on every call, even though each caller only needs a small
subset. On large instances like usegalaxy.org this scans hundreds of
thousands of rows unnecessarily.

Pass role_ids at all non-admin call sites so the query uses an IN clause
instead of scanning the entire user_role_association table.

Fixes https://github.com/galaxyproject/galaxy/issues/20469
Fixes GALAXY-MAIN-11Q0
2026-03-30 23:14:37 +02:00
..
2026-01-20 10:25:45 +00:00
2025-03-10 11:13:13 -04:00