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, pilotRef=None)

Bases: object

__init__(jobDB=None, opsHelper=None, pilotRef=None)

Constructor

condCache = <DIRAC.Core.Utilities.DictCache.DictCache object>
csDictCache = <DIRAC.Core.Utilities.DictCache.DictCache object>
delayMem = {}
getNegativeCond()

Get negative condition for ALL sites

getNegativeCondForSite(siteName, gridCE=None)

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

updateDelayCounters(siteName, jid)