Skip to content

Commit

Permalink
SpawnProcess: Remove unused _CGROUP_CLEANUP_RETRY_MAX
Browse files Browse the repository at this point in the history
Left over from FEATURES="cgroup".

Fixes: f8e3b11
Bug: https://bugs.gentoo.org/894398
Signed-off-by: Zac Medico <zmedico@gentoo.org>
  • Loading branch information
zmedico committed Sep 29, 2024
1 parent 38ff9e6 commit 376ab2c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions lib/_emerge/SpawnProcess.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {}
Expand Down

0 comments on commit 376ab2c

Please sign in to comment.