MCPcopy Create free account
hub / github.com/celery/celery / adjust

Method adjust

celery/beat.py:298–301  ·  view source on GitHub ↗
(self, n, drift=-0.010)

Source from the content-addressed store, hash-verified

296 debug('%s sent.', entry.task)
297
298 def adjust(self, n, drift=-0.010):
299 if n and n > 0:
300 return n + drift
301 return n
302
303 def is_due(self, entry):
304 return entry.is_due()

Calls

no outgoing calls