presseportale/config/admin_performance.php
Kevin Adametz 5b8bdf4182
Some checks are pending
linter / quality (push) Waiting to run
tests / ci (push) Waiting to run
12-05-2026 Frontend dev
2026-05-12 18:32:33 +02:00

13 lines
610 B
PHP

<?php
return [
'slow_requests' => [
'enabled' => env('ADMIN_SLOW_REQUEST_LOGGING_ENABLED', true),
'duration_threshold_ms' => (int) env('ADMIN_SLOW_REQUEST_THRESHOLD_MS', 750),
'database_threshold_ms' => (int) env('ADMIN_SLOW_DB_THRESHOLD_MS', 250),
'query_count_threshold' => (int) env('ADMIN_SLOW_QUERY_COUNT_THRESHOLD', 100),
'slow_query_threshold_ms' => (int) env('ADMIN_SLOW_QUERY_THRESHOLD_MS', 50),
'max_slow_queries' => (int) env('ADMIN_SLOW_QUERY_SAMPLE_SIZE', 5),
'channel' => env('ADMIN_SLOW_REQUEST_LOG_CHANNEL', 'admin_slow'),
],
];