Skip to content

Commit d870dd9

Browse files
committed
Improve - Allow 5 minutes to install OpenSCAP.
1 parent 46aebc8 commit d870dd9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/Models/BenchmarksModel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ public function execute(int $id = 0, int $device_id = 0): array
249249
$this->logCreate($id, $device_id, 'info', $command);
250250
log_message('debug', $command . ' run on ' . $device->attributes->name);
251251
$parameters->command = $command;
252-
$parameters->timeout = 120; // 2 minutes to install openscap-scanner, et al
252+
$parameters->timeout = 300; // 5 minutes to install openscap-scanner, et al
253253
$output = ssh_command($parameters);
254254
if ($output === false) {
255255
$this->logCreate($id, $device_id, 'warning', 'SSH command to install openscap failed, please check log file.');

0 commit comments

Comments
 (0)