---
Name: debugbar
Before:
  - 'mysite/*'
After:
  - 'framework/*'
  - 'cms/*'
Only:
  environment: 'dev'
---
DebugBar:
  enable_storage: true
  auto_debug: false
  ajax: false
  force_proxy: true
  check_local_ip: true
  find_source: true
  enabled_in_admin: true
  # Let DebugBar include jQuery. Set this to false to include your own jQuery version
  include_jquery: true
  # Maximum number of queries to display
  query_limit: 200
  # Number of DB queries before a warning will be displayed
  warn_query_limit: 10
  # When a warning is shown for a high number of DB queries, the following link will be used for a
  # performance guide
  performance_guide_link: https://docs.silverstripe.org/en/developer_guides/performance/
  # Threshold (seconds) for how long a database query can run for before it will be shown as a warning
  warn_dbqueries_threshold_seconds: 1.0
  # Threshold (seconds) for what constitutes a *dangerously* long page request (upper limit)
  warn_request_time_seconds: 5.0
  # Ratio to divide the warning request time by to get the *warning* level
  warn_warning_ratio: 0.5

Director:
  rules:
    '__debugbar': 'DebugBarController'
Injector:
  RequestProcessor:
    properties:
      filters:
        - '%$DebugBarRequestFilter'
  SSTemplateParser:
    class: DebugBarTemplateParserProxy
LeftAndMain:
  extensions:
    - DebugBarLeftAndMainExtension

---
Name: debugbar
Before:
  - 'mysite/*'
After:
  - 'framework/*'
  - 'cms/*'
Only:
  environment: 'dev'
---
DebugBar:
  enable_storage: true
  auto_debug: false
  ajax: false
  force_proxy: true
  check_local_ip: true
  find_source: true
  enabled_in_admin: true
  # Let DebugBar include jQuery. Set this to false to include your own jQuery version
  include_jquery: true
  # Maximum number of queries to display
  query_limit: 200
  # Number of DB queries before a warning will be displayed
  warn_query_limit: 100
  # When a warning is shown for a high number of DB queries, the following link will be used for a
  # performance guide
  performance_guide_link: https://docs.silverstripe.org/en/developer_guides/performance/
  # Threshold (seconds) for how long a database query can run for before it will be shown as a warning
  warn_dbqueries_threshold_seconds: 1.0
  # Threshold (seconds) for what constitutes a *dangerously* long page request (upper limit)
  warn_request_time_seconds: 5.0
  # Ratio to divide the warning request time by to get the *warning* level
  warn_warning_ratio: 0.5

Director:
  rules:
    '__debugbar': 'DebugBarController'
Injector:
  RequestProcessor:
    properties:
      filters:
        - '%$DebugBarRequestFilter'
  SSTemplateParser:
    class: DebugBarTemplateParserProxy
LeftAndMain:
  extensions:
    - DebugBarLeftAndMainExtension

FIX Update DB query warn level from 10 to 100
FIX Update DB query warn level from 10 to 100
