Skip to content

Commit

Permalink
Improve - Allow 5 minutes to install OpenSCAP.
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-unwin committed Nov 7, 2024
1 parent 46aebc8 commit d870dd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Models/BenchmarksModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ public function execute(int $id = 0, int $device_id = 0): array
$this->logCreate($id, $device_id, 'info', $command);
log_message('debug', $command . ' run on ' . $device->attributes->name);
$parameters->command = $command;
$parameters->timeout = 120; // 2 minutes to install openscap-scanner, et al
$parameters->timeout = 300; // 5 minutes to install openscap-scanner, et al
$output = ssh_command($parameters);
if ($output === false) {
$this->logCreate($id, $device_id, 'warning', 'SSH command to install openscap failed, please check log file.');
Expand Down

0 comments on commit d870dd9

Please sign in to comment.