code: def cleanup(self):
          
          date_cur_ = datetime.now()
          for seq in (self._mv_cookie, self._mv):
              for k in list(seq.keys()):
                  if (date_cur_ - seq[k][1]) > timedelta(minutes=1):
                      log.debug('Cleanup: deleting entry %s', seq[k][0])
                      del seq[k]
docs: Cleanup (delete) old (>1mn) records contained in self._mv_cookie
          and self._mv.