Skip to content
This repository was archived by the owner on Feb 7, 2024. It is now read-only.

Commit c8781c2

Browse files
committed
wip
1 parent ddb5dbd commit c8781c2

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

config/websockets.php

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -42,26 +42,6 @@
4242
*/
4343
'max_request_size_in_kb' => 250,
4444

45-
'statistics' => [
46-
/*
47-
* This model will be used to store the statistics of the WebSocketsServer.
48-
* The only requirement is that the model should be or extend
49-
* `WebSocketsStatisticsEntry` provided by this package.
50-
*/
51-
'model' => \BeyondCode\LaravelWebSockets\Statistics\Models\WebSocketsStatisticsEntry::class,
52-
53-
/*
54-
* Here you can specify the interval in seconds at which statistics should be logged.
55-
*/
56-
'interval_in_seconds' => 60,
57-
58-
/*
59-
* When the clean-command is executed, all recorded statistics older than
60-
* the number of days specified here will be deleted.
61-
*/
62-
'delete_statistics_older_than_days' => 60
63-
],
64-
6545
/*
6646
* This path will be used to register the necessary routes for the package.
6747
*/
@@ -91,4 +71,24 @@
9171
*/
9272
'passphrase' => null
9373
],
74+
75+
'statistics' => [
76+
/*
77+
* This model will be used to store the statistics of the WebSocketsServer.
78+
* The only requirement is that the model should be or extend
79+
* `WebSocketsStatisticsEntry` provided by this package.
80+
*/
81+
'model' => \BeyondCode\LaravelWebSockets\Statistics\Models\WebSocketsStatisticsEntry::class,
82+
83+
/*
84+
* Here you can specify the interval in seconds at which statistics should be logged.
85+
*/
86+
'interval_in_seconds' => 60,
87+
88+
/*
89+
* When the clean-command is executed, all recorded statistics older than
90+
* the number of days specified here will be deleted.
91+
*/
92+
'delete_statistics_older_than_days' => 60
93+
],
9494
];

0 commit comments

Comments
 (0)