Limiter

Encapsulate here the logic for limiting the matching of jobs

Utilities and classes here are used by the Matcher

class DIRAC.WorkloadManagementSystem.Client.Limiter.Limiter(jobDB=None, opsHelper=None)

Bases: object

__init__(jobDB=None, opsHelper=None)

Constructor

getNegativeCond()

Get negative condition for ALL sites

getNegativeCondForSite(siteName)

Generate a negative query based on the limits set on the site

updateDelayCounters(siteName, jid)