Allow deleting completed jobs after a certain number

Created on 25 October 2017, about 7 years ago
Updated 25 January 2023, almost 2 years ago

D7 had:

  $form['advancedqueue_threshold'] = array(
    '#type' => 'select',
    '#title' => t('Number of completed items to keep in the database'),
    '#default_value' => variable_get('advancedqueue_threshold', 0),
    '#options' => array(0 => t('All')) + drupal_map_assoc(array(100, 1000, 10000, 100000, 1000000)),
  );

We can add a similar option to the Database backend, and then perform cleanup in cleanupQueue().

Feature request
Status

Fixed

Version

1.0

Component

Code

Created by

🇷🇸Serbia bojanz

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024