Pending

User tests: Successful: Unsuccessful:

avatar Hackwar
Hackwar
27 Nov 2026

Pull Request for Issue # .

  • I read the Generative AI policy and my contribution is either not created with the help of AI or is compatible with the policy and GNU/GPL 2 or later.

This change was created with the help of AI (Claude Code).

Summary of Changes

The link check task stops processing a batch when max(5, max_execution_time - 10) seconds are reached. On the CLI (php cli/joomla.php scheduler:run) and on servers without a limit, max_execution_time is 0, which means no limit, but results in a limit of 5 seconds. With a few slow URLs each run then only checks one or two links and the task needs many more runs than necessary.

When max_execution_time is 0 the time check is now effectively disabled (the batch size still limits the work per run). The unused private property $timeLimit is removed.

Testing Instructions

  • Create a "Weblinks - Check links" task with a batch size of 10 and add weblinks to slow URLs (e.g. https://httpbin.org/delay/3).
  • Run it with php cli/joomla.php scheduler:run --id=<id>.

Expected result

All 10 links of the batch are checked in one run.

Actual result

The run stops after ~5 seconds, after one or two links.

Documentation Changes Required

None

avatar Hackwar Hackwar - open - 27 Nov 2026

Add a Comment

Login with GitHub to post a comment