This instance will be upgraded to Heptapod 0.31.0 (final) on 2022-05-24 at 14:00 UTC+2 (a few minutes of down time)

  • Yorick Peterse's avatar
    Track and act upon the number of executed queries · 9627f5de5a69
    Yorick Peterse authored
    This ensures that we have more visibility in the number of SQL queries
    that are executed in web requests. The current threshold is hardcoded to
    100 as we will rarely (maybe once or twice) change it.
    
    In production and development we use Sentry if enabled, in the test
    environment we raise an error. This feature is also only enabled in
    production/staging when running on GitLab.com as it's not very useful to
    other users.
    9627f5de5a69
services_controller.rb 1.18 KB