wip
This commit is contained in:
parent
ddb5dbdabb
commit
c8781c29f4
|
|
@ -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
|
||||||
|
],
|
||||||
];
|
];
|
||||||
Loading…
Reference in New Issue