how do you set the update time. I've got a cron job firing every minute and a page refresh of 2 secs as i'm hoping to use this module as a tweet wall.

However the tweets only seem to update every 20 mins or so. I'm guessing it's a cache setting for this but I can't seem to find it

Comments

arithmetric’s picture

Title: time between updates » How do you change the time delay between updates?
Status: Active » Closed (works as designed)

The cache length of 20 minutes is hard-coded in twitter_pull.module. Line 12 reads:

define ('TWITTER_PULL_CACHE_LENGTH', 20); //-- cache for 20 minutes

If you prefer to have the feed updated more or less frequently, then change 20 to the desired number of minutes between updates.

Ideally, a future version of this module would have a configuration page for settings like this.

spelcheck’s picture

Does this module require cron to run for the update to happen? If I have it running within a block and displayed on only one page, would I need to use cache_exclude to prevent any caching of the page itself? Thanks, this module was exactly what I was looking for!

Eli

th88’s picture

Same question as elizzle - when I clear cache, the twitter pull updates fine. If I don't manually do that, the tweets do not update.

Note I have all cache's disabled currently in Admin->Performance. When I enable this (when going live) will it update every 20 minutes as it's supposed to?

th88’s picture

Status: Closed (works as designed) » Active