Review main Merged

96280[TASK] Lower default scheduler maximum lifetime to 60 minutes

Benni Mack CR +2 V +2 Normal +147 −12 updated 10/08/26, 06:46

Commit message

The scheduler extension setting "maxLifetime" defines when a task
that is still marked as running is considered crashed, so its stale
execution mark is removed and the task can run again. With the
previous default of 1440 minutes, a single crashed run, typically
caused by exceeding the PHP memory_limit, blocked tasks without
parallel execution for a whole day.

The default and the fallback for an empty value are now 60 minutes,
which is enough for regular tasks. Long-running work is better
dispatched to the message bus.

The setting is now documented properly, including the risk of
parallel runs when a task legitimately runs longer than the
configured lifetime. The manual wrongly stated a default of 15
minutes.

Review

  • Code review CR +2 Done
    • Benni Mack +2
    • Oli Bartsch +1
    • Josua Vogel +1
  • Verified V +2 Done
    • Benni Mack +2
    • Oli Bartsch +1
    • core-ci +1 CI

Issues 1

Files 6

Review log 811

  1. Benni Mack uploaded patch set 1 10/01/26, 21:26

  2. core-ci voted on patch set 1 V -1 10/01/26, 21:38 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/109844

  3. Benni Mack commented on patch set 2 V -1 10/02/26, 06:17

    Published edit on patch set 1.
  4. core-ci voted on patch set 2 V -1 10/02/26, 06:26 Core CI is not happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/109868

  5. Benni Mack uploaded patch set 3 V -1 10/08/26, 05:41

  6. core-ci voted on patch set 3 V +1 10/08/26, 05:49 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/110439

  7. Benni Mack marked it ready for review 10/08/26, 06:00

  8. Josua Vogel voted on patch set 3 CR +1 10/08/26, 06:07

  9. Oli Bartsch voted on patch set 3 CR +1 V +1 10/08/26, 06:46

  10. Benni Mack voted on patch set 3 CR +2 V +2 10/08/26, 06:46

  11. Benni Mack merged patch set 4 10/08/26, 06:46