aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2024-09-29 13:18:14 -0700
committerZac Medico <zmedico@gentoo.org>2024-09-29 15:47:07 -0700
commit376ab2c56e3dc7e7904ec862128bdabc07f6a00a (patch)
tree852a909ffeac66e3ec8c9a0614b9d25b0e9c3661 /lib
parentRemove obsolete pylint options (diff)
downloadportage-376ab2c56e3dc7e7904ec862128bdabc07f6a00a.tar.gz
portage-376ab2c56e3dc7e7904ec862128bdabc07f6a00a.tar.bz2
portage-376ab2c56e3dc7e7904ec862128bdabc07f6a00a.zip
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@gentoo.org>
Diffstat (limited to 'lib')
-rw-r--r--lib/_emerge/SpawnProcess.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/_emerge/SpawnProcess.py b/lib/_emerge/SpawnProcess.py
index 513a7b2fe..5d8b3929e 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 = {}