commit:     376ab2c56e3dc7e7904ec862128bdabc07f6a00a
Author:     Zac Medico <zmedico <AT> gentoo <DOT> org>
AuthorDate: Sun Sep 29 20:18:14 2024 +0000
Commit:     Zac Medico <zmedico <AT> gentoo <DOT> org>
CommitDate: Sun Sep 29 22:47:07 2024 +0000
URL:        https://gitweb.gentoo.org/proj/portage.git/commit/?id=376ab2c5

SpawnProcess: Remove unused _CGROUP_CLEANUP_RETRY_MAX

Left over from FEATURES="cgroup".

Fixes: f8e3b11496bd6d602a690535c4a3bb32bb8e9744
Bug: https://bugs.gentoo.org/894398
Signed-off-by: Zac Medico <zmedico <AT> gentoo.org>

 lib/_emerge/SpawnProcess.py | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/lib/_emerge/SpawnProcess.py b/lib/_emerge/SpawnProcess.py
index 513a7b2fe4..5d8b3929e1 100644
--- a/lib/_emerge/SpawnProcess.py
+++ b/lib/_emerge/SpawnProcess.py
@@ -51,10 +51,6 @@ class SpawnProcess(SubProcess):
         )
     )
 
-    # Max number of attempts to kill the processes listed in cgroup.procs,
-    # given that processes may fork before they can be killed.
-    _CGROUP_CLEANUP_RETRY_MAX = 8
-
     def _start(self):
         if self.fd_pipes is None:
             self.fd_pipes = {}

Reply via email to