Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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()
Callers
4
test_tick_survives_entry_failing_when_due
Method · 0.80
test_tick_uses_fresh_time_when_heap_top_changes
Method · 0.80
_merge_clock
Method · 0.80
on_clock_event
Method · 0.80
Calls
no outgoing calls
Tested by
2
test_tick_survives_entry_failing_when_due
Method · 0.64
test_tick_uses_fresh_time_when_heap_top_changes
Method · 0.64