Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions app/Jobs/Ookla/SelectSpeedtestServerJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,9 @@ public function handle(): void
return;
}

// If preferred servers are set in the config, we can use that.
if (! blank(config('speedtest.servers'))) {
// If preferred servers are set in the config, we can use that,
// but only if the test is scheduled.
if ($this->result->scheduled && ! blank(config('speedtest.servers'))) {
$this->updateServerId(
result: $this->result,
serverId: $this->getConfigServer(),
Expand Down
2 changes: 1 addition & 1 deletion app/Livewire/Topbar/RunSpeedtestAction.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public function speedtestAction(): Action
->form([
Select::make('server_id')
->label('Select Server')
->helperText('Leave empty to run the speedtest without specifying a server.')
->helperText('Leave empty to run the speedtest without specifying a server. Blocked servers will be skipped.')
->options(function (): array {
return array_filter([
'Manual servers' => Ookla::getConfigServers(),
Expand Down