original_docstring: 
          Subtask which cleans up stale tasks
  
          TODO check where to use time.monotonic
          
docstring: Subtask which cleans up stale tasks
  TODO check where to use time.monotonic
docstring_tokens: Subtask which cleans up stale tasks TODO check where to use time . monotonic
code: async def _age_killer(self, age_q):
          """
          Subtask which cleans up stale tasks
  
          TODO check where to use time.monotonic
          """
          t0 = None
          t1 = time.time()
          while True:
              with anyio.move_on_after(self.max_age):
                  await age_q.get()
                  t1 = time.time()
              t2 = time.time()
              if t1 + self.max_age < t2:
                  raise NotSelected(self.max_age, t2, t1)
              t0 = t1
              t1 = t2
              if t0 is not None:
                  await self.find_stale_nodes(t0)
code_tokens: async def _age_killer ( self , age_q ) : t0 = None t1 = time . time ( ) while True : with anyio . move_on_after ( self . max_age ) : await age_q . get ( ) t1 = time . time ( ) t2 = time . time ( ) if t1 + self . max_age < t2 : raise NotSelected ( self . max_age , t2 , t1 ) t0 = t1 t1 = t2 if t0 is not None : await self . find_stale_nodes ( t0 )
short_docstring: Subtask which cleans up stale tasks
  TODO check where to use time.monotonic
short_docstring_tokens: Subtask which cleans up stale tasks TODO check where to use time . monotonic
comment: """
          Subtask which cleans up stale tasks
  
          TODO check where to use time.monotonic
          """