1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Make Registered Feeds Import time longer?

Discussion in 'Styling and Customization Questions' started by OakleyForum, Apr 9, 2013.

  1. OakleyForum

    OakleyForum Active Member

    Is there any way to change the Registered Feeds import time to longer than 12 hours?

    Also is there any way to set the amount of feeds that is imported at one time. i.e 1 feed every 6 hours instead of 5 every 12?

    Thanks.
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    The allowed frequency values are hard-coded:

    library/XenForo/Model/Feed.php

    Code:
    	/**
    	 * Valid values (seconds) for feed.frequency
    	 *
    	 * @var array
    	 */
    	protected static $_frequencyValues = array(
    		600, // 10 mins
    		1200, // 20 mins
    		1800, // 30 mins
    		3600, // 1 hour
    		7200, // 2 hours
    		14400, // 4 hours
    		21600, // 6 hours
    		43200, // 12 hours
    	);
    
     
  3. OakleyForum

    OakleyForum Active Member

    So how would I go about changing this? I tried changing it to 48 hours, so I changed the "43200" to "172800", but it still imports at 12 hour intervals.
     

Share This Page