Add HS_MAX_LINKS setting to control the number of links to retrieve from the HCF