Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
LINKCHECKER_SCAN_MAX_LINKS_PER_RUN is used to limit the number of links checked per cron run. It would be great if this was a Drupal variable that could be modified per site instead of a constant.
Comments
Comment #1
hass CreditAttribution: hass commentedYou may misunderstood the code. This variable is not used for cron checks. It is for batch processing. It only limits the numbers of links per batch scan round. People are overloading their site if this becomes configurable. The value used here is a safe value that should work on all sites.
Cron limit is calculated based on php max timeout setting and therefore configurable via PHP settings. This also seems working very well as we have zero issue reports about this compared to a setting in past.
If you need to speed up the cron checks I strongly recommend using HTTPRL and setup PHP max timeout to 240s.
Comment #2
helmo CreditAttribution: helmo at Initfour websolutions commented