Skip to content

Commit 6a5689c

Browse files
authored
Merge pull request #46 from mr-feek/patch-1
add threshold to config file
2 parents 12ca2c9 + 14c8138 commit 6a5689c

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)