digitalutsc / advanced-queue-runner-archive

Moved to https://github.com/digitalutsc/advanced-queue-runner
GNU General Public License v2.0
0 stars 0 forks source link

Explore a way to retry failed jobs in a queue. #4

Open kylehuynh205 opened 3 years ago

kylehuynh205 commented 3 years ago

Investigate more on how max_retries = 1 and retry_delay = 79200 work ?

Source: https://ericpugh.dev/2020/drupal-advanced-queue-tutorial/

kylehuynh205 commented 3 years ago

Resolved with two PRs: https://github.com/digitalutsc/drupal_fits/pull/6 and https://github.com/digitalutsc/triplestore_indexer/pull/22

Detail: By set max_retries and retry_delay in Jobtype class, enable the retry functionality when running a job (failure) in advanced queue,

Enhancement:
In Config form of Fits and Triplestore Indexer module:

Screen Shot 2021-10-08 at 11 38 38 AM

Screen Shot 2021-10-08 at 11 39 05 AM