forked from alexjustesen/speedtest-tracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathspeedtest.php
More file actions
38 lines (24 loc) · 757 Bytes
/
speedtest.php
File metadata and controls
38 lines (24 loc) · 757 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<?php
use Carbon\Carbon;
return [
'build_date' => Carbon::parse('2024-08-08'),
'build_version' => 'v0.21.0',
/**
* General settings.
*/
'content_width' => env('CONTENT_WIDTH', '7xl'),
'prune_results_older_than' => env('PRUNE_RESULTS_OLDER_THAN', 0),
'public_dashboard' => env('PUBLIC_DASHBOARD', false),
/**
* Polling settings.
*/
'dashboard_polling' => env('DASHBOARD_POLLING', '60s'),
'notification_polling' => env('NOTIFICATION_POLLING', '60s'),
'results_polling' => env('RESULTS_POLLING', null),
/**
* Speedtest settings.
*/
'ping_url' => env('SPEEDTEST_PING_URL'),
'schedule' => env('SPEEDTEST_SCHEDULE'),
'servers' => env('SPEEDTEST_SERVERS', ''),
];