Home
last modified time | relevance | path

Searched refs:age_limit (Results 1 – 3 of 3) sorted by relevance

/external/autotest/site_utils/
Djob_directories.py24 def is_job_expired(age_limit, timestamp): argument
34 if age_limit <= 0:
37 expiration = job_time + datetime.timedelta(days=age_limit)
Dgs_offloader.py684 def _is_expired(job, age_limit): argument
693 return job_directories.is_job_expired(age_limit, job_timestamp)
944 def _enqueue_offload(job, queue, age_limit): argument
964 if not _is_expired(job, age_limit):
Dgs_offloader_unittest.py252 def _make_timestamp(age_limit, is_expired): argument
270 delta = datetime.timedelta(days=age_limit, seconds=seconds)