This commit is contained in:
Marcel Pociot 2018-12-04 13:32:35 +01:00
parent ddb5dbdabb
commit c8781c29f4
1 changed files with 20 additions and 20 deletions

View File

@ -42,26 +42,6 @@ return [
*/ */
'max_request_size_in_kb' => 250, 'max_request_size_in_kb' => 250,
'statistics' => [
/*
* This model will be used to store the statistics of the WebSocketsServer.
* The only requirement is that the model should be or extend
* `WebSocketsStatisticsEntry` provided by this package.
*/
'model' => \BeyondCode\LaravelWebSockets\Statistics\Models\WebSocketsStatisticsEntry::class,
/*
* Here you can specify the interval in seconds at which statistics should be logged.
*/
'interval_in_seconds' => 60,
/*
* When the clean-command is executed, all recorded statistics older than
* the number of days specified here will be deleted.
*/
'delete_statistics_older_than_days' => 60
],
/* /*
* This path will be used to register the necessary routes for the package. * This path will be used to register the necessary routes for the package.
*/ */
@ -91,4 +71,24 @@ return [
*/ */
'passphrase' => null 'passphrase' => null
], ],
'statistics' => [
/*
* This model will be used to store the statistics of the WebSocketsServer.
* The only requirement is that the model should be or extend
* `WebSocketsStatisticsEntry` provided by this package.
*/
'model' => \BeyondCode\LaravelWebSockets\Statistics\Models\WebSocketsStatisticsEntry::class,
/*
* Here you can specify the interval in seconds at which statistics should be logged.
*/
'interval_in_seconds' => 60,
/*
* When the clean-command is executed, all recorded statistics older than
* the number of days specified here will be deleted.
*/
'delete_statistics_older_than_days' => 60
],
]; ];