From 9b510cec36f2caac158f95cb1b29ed713d754aca Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Tue, 7 Oct 2025 13:40:02 +0200 Subject: [PATCH] wip #7780 @0.25 --- src/CommandLine.php | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/src/CommandLine.php b/src/CommandLine.php index cf237d0..d6293d5 100644 --- a/src/CommandLine.php +++ b/src/CommandLine.php @@ -23,7 +23,6 @@ class CommandLine protected $ssh = null; protected $longArgSeparator = '='; protected $timeout = 0; - protected $cpulimit = 0; protected $sudo = false; protected $unique = false; protected $uniqueCommand = null; @@ -267,10 +266,6 @@ class CommandLine $commande = 'timeout ' . $this->getTimeout() . ' ' . $commande; } - if ($this->getCPULimit() > 0) { - $commande = 'cpulimit -l ' . $this->getCPULimit() . ' ' . $commande; - } - if ($this->nohup) { $commande = 'nohup ' . $commande; } @@ -428,22 +423,6 @@ class CommandLine $this->unique = $unique; } - /** - * @param int $cpulimit - */ - public function setCPULimit(int $cpulimit): void - { - $this->cpulimit = $cpulimit; - } - - /** - * @return int - */ - public function getCPULimit(): int - { - return $this->cpulimit; - } - public function ddCommand() { $this->_preExecute(); -- 2.39.5