Use an array for fetching same_family_pipeline_ids
The `OR` on DB causes a significant harm when fetching data from DB, without an index. We can alleviate it by using a pure `pluck(:id).
Showing
Please register or sign in to comment
The `OR` on DB causes a significant harm when fetching data from DB, without an index. We can alleviate it by using a pure `pluck(:id).