API: `jobs/request`: the`present_build!` likely has N+1 problem
To validate if present build_json
has N+1
problem when generating a JSON payload for runner. This is problematic, as today most of these queries use primary DB.
This can happen due:
- many dependencies
- many variables
- many artifacts
Follow-up after: &5434 (comment 527341655)
Edited by Kamil Trzciński