From: Vincent Vanwaelscappel Date: Tue, 7 Oct 2025 11:40:02 +0000 (+0200) Subject: wip #7780 @0.25 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=9b510cec36f2caac158f95cb1b29ed713d754aca;p=cubist_util.git wip #7780 @0.25 --- 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();