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

hass’s picture

Status: Active » Closed (works as designed)

You 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.

helmo’s picture