# Conseiller::SolicitationsController#update_badges

- **Period:** 24 Jun 07:49 UTC – 24 Jun 08:18 UTC
- **Throughput**: 0.03 / min
- **Average:** 61.3 ms

## Most Impactful Sections
| Kind | Location | Avg ms | Avg calls | Impact | Command |
| ---- | -------- | -----: | --------: | -----: | ------- |
| code | app/controllers/conseiller/solicitations_controller.rb:68 | 22.0 | 1.0 | 35.88% | `Conseiller::SolicitationsController#update_badges` |
| sql | app/models/solicitation.rb:245 | 13.0 | 1.0 | 21.20% | `UPDATE "solicitations" SET "updated_at" = ? WHERE "solicitations"."id" = ?` |
| sql | app/controllers/conseiller/solicitations_controller.rb:71 | 1.0 | 6.0 | 9.78% | `BEGIN SELECT "badges".* FROM "badges" WHERE "badges"."id" = ? SELECT "badges".*…` |
| queue | queue | 3.0 | 1.0 | 4.89% |  |
| sql | app/models/concerns/mandatory_answers.rb:30 | 0.6 | 5.0 | 4.89% | `SELECT "subjects".* FROM "subjects" INNER JOIN "landing_subjects" ON "subjects"…` |
| sql | vendor/bundle/ruby/4.0.0/gems/activesupport-8.1.3/lib/active_support/notifications/fanout.rb:158 | 3.0 | 1.0 | 4.89% | `SELECT "users".* FROM "users" WHERE "users"."id" = ? ORDER BY "users"."id" ASC …` |
| sql | app/models/concerns/mandatory_answers.rb:17 | 0.25 | 4.0 | 1.63% | `SELECT ? AS one FROM "subject_questions" WHERE "subject_questions"."subject_id"…` |
| sql | app/controllers/conseiller/solicitations_controller.rb:70 | 0.5 | 2.0 | 1.63% | `SELECT "landings".* FROM "landings" WHERE "landings"."id" = ? LIMIT ? SELECT "l…` |
| rack | /app/vendor/bundle/ruby/4.0.0/gems/rack-timeout-0.7.0/lib/rack/timeout/core.rb:90 | 1.0 | 1.0 | 1.63% | `Rack::Timeout` |
| rack | /app/vendor/bundle/ruby/4.0.0/gems/rack-3.2.6/lib/rack/head.rb:14 | 1.0 | 1.0 | 1.63% | `Rack::Head` |
| gc | ruby/gc.c | 1.0 | 1.0 | 1.63% | `GC.start` |
| rack | /app/vendor/bundle/ruby/4.0.0/gems/appsignal-4.8.4/lib/appsignal/rack/abstract_middleware.rb:26 | 1.0 | 1.0 | 1.63% | `Appsignal::Rack::RailsInstrumentation` |
| rack | /app/vendor/bundle/ruby/4.0.0/gems/rack-attack-6.8.0/lib/rack/attack.rb:104 | 1.0 | 1.0 | 1.63% | `Rack::Attack` |

[View on RoRvsWild ↗](https://www.rorvswild.com/applications/135976/requests/Conseiller::SolicitationsController%23update_badges?range=30m)