Back to the room

Pass 3 of 3 · Deep dive of PHAROSPass 1 · OverviewPass 2 · How it works

Code Observatory / function

retry_delay_seconds

codeintel.jobs.retry_delay_seconds

PINNED SOURCE Source and edges from the index at this commit. An execution appears only where one was recorded.

PHAROS at 975a38dMIT license

Around this symbol

Search all symbols

Loading

Called by (1)
SymbolFileResolved by
runjobs.pysame file
Inside (1)
SymbolFileResolved by
jobsjobs.pysame file
codeintel.jobs.retry_delay_secondsbackend/app/codeintel/jobs.py, lines 160–162Open source
def retry_delay_seconds(attempts: int) -> int:    """30 s, 2 min, 8 min, ... capped at 1 h."""    return min(3600, 30 * 4 ** max(0, attempts - 1))

What the index recorded

Signature
def retry_delay_seconds(attempts: int) -> int:
File
backend/app/codeintel/jobs.py
Lines
160–162
Parser
python-ast
Git blob
54c9a5d84ee5feda5176c3e05d0aa9a7d46f6016
Call sites
2 named, 0 resolved, 2 left unlinked
Outside this subset
1 more edges reach code outside the graph shown here

Read it on GitHub at this commit