• Arturo Herrero's avatar
    Reduce number of SQL queries for service templates · a93b591b
    Arturo Herrero authored
    - Move logic from Admin::ServicesController to Service.
    - Improve performance avoiding N+1 queries:
      - Retrieve service templates reduced from 39 to 6 query counts.
      - Create service templates reduced from 178 to 80 query counts.
    a93b591b
20820-service-templates-performance.yml 109 Bytes