You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
it would be nice to be able to set a higher priority on some critical nodes:
For example using the psutil library, which is a cross-platform library for accessing system details and managing processes:
# Set the process priority using psutil
try:
ps_process = psutil.Process(self.proc)
# Set the priority (you can choose a priority value from psutil)
ps_process.nice(psutil.HIGH_PRIORITY_CLASS)
except psutil.NoSuchProcess as e:
log.error(f"Error setting priority: {e}")
The text was updated successfully, but these errors were encountered:
In
flow-initiator/flow_initiator/spawner/elements/process_element.py
Line 60 in 7281f09
For example using the psutil library, which is a cross-platform library for accessing system details and managing processes:
The text was updated successfully, but these errors were encountered: