只将actor优先级降低

This commit is contained in:
zhiyang7 2021-12-23 14:28:03 +08:00
parent 69accd5f61
commit 55578c620e
1 changed files with 1 additions and 1 deletions

View File

@ -191,7 +191,7 @@ def train(flags):
})
parent = psutil.Process()
parent.nice(psutil.BELOW_NORMAL_PRIORITY_CLASS)
parent.nice(psutil.NORMAL_PRIORITY_CLASS)
for child in parent.children():
child.nice(psutil.BELOW_NORMAL_PRIORITY_CLASS)