ResourceLimits#
- class pyedb.workflows.job_manager.backend.service.ResourceLimits#
Host-level resource constraints enforced by the manager.
All attributes are checked before starting a new job; if any limit is exceeded the job remains in the queue.
- Parameters:
- max_concurrent_jobs
int,optional Simultaneous local jobs. Default is
1.- max_cpu_percent
float,optional CPU utilisation threshold (0-100). Default is
80.0.- min_memory_gb
float,optional Free RAM required to start (GB). Default is
2.0.- min_disk_gb
float,optional Free disk space required to start (GB). Default is
10.0.
- max_concurrent_jobs
Overview#
Import detail#
from pyedb.workflows.job_manager.backend.service import ResourceLimits