• Hi !

    During peak hours our website is sometimes very slow. We asked our host, Kinsta, to analyze the traffic. After the scan, they told us that the problem was with the Cron jobs. The report shows that the top uses (92%) of Cron are made by AmazonAutoLinks_HTTP_Client :: __ haveInterval.

    Is this caused by Amazon Auto Links caching ?

Viewing 1 replies (of 1 total)
  • Plugin Author miunosoft

    (@miunosoft)

    Hi,

    The class and the method AmazonAutoLinks_HTTP_Client::__haveInterval() is of the Amazon Auto Links plugin. But this method is private and not the one directly associated with a registered action hook for WP_Cron.

    Amazon Auto Links indeed runs some background routines that performs HTTP requests to external sites including Amazon API servers and store sites to fetch product data. If you need to keep them minimum to save server resources, please try the followings:

    1. Remove some tags in the Item Format unit option. Go to Dashboard -> Amazon Auto Links -> Settings -> Default -> Output Format -> Item Format and remove the %rating% and %review% tag. If you have units, do this for all the units.

    2. If you use units for most of the time, use feed units which can be created via Dashboard -> Amazon Auto Links -> Add Feed Unit. Have another site to create units and tell a feed unit to point to the unit of that site. This way, the routines to generate outputs can be kept minimum on the main site by having another site do those tasks.

    Hope this helps.

Viewing 1 replies (of 1 total)
  • The topic ‘Overuse of Cron causing bad performance’ is closed to new replies.