code: def _check_projects(self):
          '''Check projects by last update time'''
          for project in self.projectdb.check_update(self.last_check_projects,
                                                     ['name', 'updatetime']):
              if project['name'] not in self.projects:
                  continue
              if project['updatetime'] > self.projects[project['name']]['info'].get('updatetime', 0):
                  self._update_project(project['name'])
          self.last_check_projects = time.time(f _check_projects(self):
          '''Check projects by last update time'''
          for project in self.projectdb.check_update(self.last_check_projects,
                                                     ['name', 'updatetime']):
              if project['name'] not in self.projects:
                  continue
              if project['updatetime'] > self.projects[project['name']]['info'].get('updatetime', 0):
                  self._update_project(project['name'])
          self.last_check_projects = time.time()
docs: Check projects by last update time