Shortcircuit expensive queries in Runner#can_pick?
When `can_pick?` is executed by a shared runner we already know it is one of the assignable runners for the given project_id. We don't need to run the `assignable_for?` queries which are expensive.
Showing
Please register or sign in to comment