Skip to content

Commit

Permalink
hotfix.
Browse files Browse the repository at this point in the history
  • Loading branch information
halilcosdu committed May 3, 2024
1 parent 8c13657 commit c47d131
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ This is the contents of the published config file:
'enabled' => env('SLOWER_ENABLED', true),
'threshold' => env('SLOWER_THRESHOLD', 10000),
'resources' => [
'table_name' => SlowLog::getTable(),
'table_name' => (new SlowLog)->getTable(),
'model' => SlowLog::class,
],
'ai_recommendation' => env('SLOWER_AI_RECOMMENDATION', true), // You can completely disable AI, and then the package will only log slow queries to the database.
Expand Down
2 changes: 1 addition & 1 deletion config/slower.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
'enabled' => env('SLOWER_ENABLED', true),
'threshold' => env('SLOWER_THRESHOLD', 10000),
'resources' => [
'table_name' => SlowLog::getTable(),
'table_name' => (new SlowLog)->getTable(),
'model' => SlowLog::class,
],
'ai_recommendation' => env('SLOWER_AI_RECOMMENDATION', true),
Expand Down

0 comments on commit c47d131

Please sign in to comment.