code: def _check_delete(self):
          '''Check project delete'''
          now = time.time()
          for project in list(itervalues(self.projects)):
              if project.db_status != 'STOP':
                  continue
              if now - project.updatetime < self.DELETE_TIME:
                  continue
              if 'delete' not in self.projectdb.split_group(project.group):
                  continue
  
              logger.warning("deleting project: %s!", project.name)
              del self.projects[project.name]
              self.taskdb.drop(project.name)
              self.projectdb.drop(project.name)
              if self.resultdb:
                  self.resultdb.drop(project.name)
              for each in self._cnt.values():
                  del each[project.namef _check_delete(self):
          '''Check project delete'''
          now = time.time()
          for project in list(itervalues(self.projects)):
              if project.db_status != 'STOP':
                  continue
              if now - project.updatetime < self.DELETE_TIME:
                  continue
              if 'delete' not in self.projectdb.split_group(project.group):
                  continue
  
              logger.warning("deleting project: %s!", project.name)
              del self.projects[project.name]
              self.taskdb.drop(project.name)
              self.projectdb.drop(project.name)
              if self.resultdb:
                  self.resultdb.drop(project.name)
              for each in self._cnt.values():
                  del each[project.name]
docs: Check project delete