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_jobsint, optional

Simultaneous local jobs. Default is 1.

max_cpu_percentfloat, optional

CPU utilisation threshold (0-100). Default is 80.0.

min_memory_gbfloat, optional

Free RAM required to start (GB). Default is 2.0.

min_disk_gbfloat, optional

Free disk space required to start (GB). Default is 10.0.

Overview#

Import detail#

from pyedb.workflows.job_manager.backend.service import ResourceLimits

Attribute detail#

ResourceLimits.max_concurrent_jobs: int = 1#
ResourceLimits.max_cpu_percent: float = 80.0#
ResourceLimits.min_memory_gb: float = 2.0#
ResourceLimits.min_disk_gb: float = 2.0#