diff --git a/config/config.php b/config/config.php index b7c63cf..aa058d8 100644 --- a/config/config.php +++ b/config/config.php @@ -6,6 +6,12 @@ * If this is set to "null", the app.debug config value will be used. */ 'enabled' => env('QUERY_DETECTOR_ENABLED', null), + + /* + * Threshold level for the N+1 query detection. If a relation query will be + * executed more then this amount, the detector will notify you about it. + */ + 'threshold' => 1, /* * Here you can whitelist model relations.