code: def adjust_jobs_priority(self, high_value_jobs, priority=1):
          
          # Only job priorities that don't have an expiration date (2 weeks for new jobs or year 2100
          # for jobs update via load_preseed) are updated
          for jp in JobPriority.objects.filter(expiration_date__isnull=True):
              if jp.unique_identifier() not in high_value_jobs:
                  if jp.priority != SETA_LOW_VALUE_PRIORITY:
                      logger.warning('Decreasing priority of %s', jp.unique_identifier())
                      jp.priority = SETA_LOW_VALUE_PRIORITY
                      jp.save(update_fields=['priority'])
              elif jp.priority != priority:
                  logger.warning('Increasing priority of %s', jp.unique_identifier())
                  jp.priority = priority
                  jp.save(update_fields=['priority'])
docs: For every job priority determine if we need to increase or decrease the job priority
  
          Currently, high value jobs have a priority of 1 and a timeout of 0.