addons14/queue_job/models/queue_job.py
def requeue_stuck_jobs(self, enqueued_delta=5, started_delta=0):
        """Fix jobs that are in a bad states

        :param in_queue_delta: lookup time in minutes for jobs
                                that are in enqueued state

        :param started_delta: lookup time in minutes for jobs
                                that are in enqueued state,
                                0 means that it is not checked
        """
        self._get_stuck_jobs_to_requeue(
            enqueued_delta=enqueued_delta, started_delta=started_delta
        ).requeue()
        return True
Fix jobs that are in a bad states

        :param in_queue_delta: lookup time in minutes for jobs
                                that are in enqueued state

        :param started_delta: lookup time in minutes for jobs
                                that are in enqueued state,
                                0 means that it is not checked
        
Fix jobs that are in a bad states
Fix jobs that are in a bad states
def requeue_stuck_jobs(self, enqueued_delta=5, started_delta=0):
        self._get_stuck_jobs_to_requeue(
            enqueued_delta=enqueued_delta, started_delta=started_delta
        ).requeue()
        return True
def requeue_stuck_jobs ( self , enqueued_delta = 5 , started_delta = 0 ) : self . _get_stuck_jobs_to_requeue ( enqueued_delta = enqueued_delta , started_delta = started_delta ) . requeue ( ) return True
Fix jobs that are in a bad states
Fix jobs that are in a bad states
"""Fix jobs that are in a bad states

        :param in_queue_delta: lookup time in minutes for jobs
                                that are in enqueued state

        :param started_delta: lookup time in minutes for jobs
                                that are in enqueued state,
                                0 means that it is not checked
        """
self
enqueued_delta
started_delta
lookup time in minutes for jobs
that are in enqueued state,
0 means that it is not checked
lookup time in minutes for jobs that are in enqueued state 0 means that it is not checked
in_queue_delta
lookup time in minutes for jobs
that are in enqueued state
lookup time in minutes for jobs that are in enqueued state