Skip to content

Commit 14c8138

Browse files
authored
add threshold to config file
This is listed in the readme, but not in the actual published config
1 parent c39994e commit 14c8138

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

config/config.php

+6
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@
66
* If this is set to "null", the app.debug config value will be used.
77
*/
88
'enabled' => env('QUERY_DETECTOR_ENABLED', null),
9+
10+
/*
11+
* Threshold level for the N+1 query detection. If a relation query will be
12+
* executed more then this amount, the detector will notify you about it.
13+
*/
14+
'threshold' => 1,
915

1016
/*
1117
* Here you can whitelist model relations.

0 commit comments

Comments
 (0)