roller-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Van Rogers-Ho <vanonthe...@gmail.com>
Subject home page recent posts not reflecting planetrss
Date Tue, 05 Apr 2011 19:56:53 GMT
Hi,

I'm seeing something odd where the home/front page recent posts are not
reflecting new entries unless you are logged in. Some observations:


   1. The new entry is in an existing blog.
   2. I can see it OK under /planetrss *without* logging in.
   3. clearing local cache *does not* fix it
   4. Doing a site wide clearing of cache (server admin>Cache info>
   cache.sitewide) *does* fix this and all users can see it.

There is a job that runs every 6 hours, tasks.SyncWebsitesTask.interval=360.
Is this what I would change to get quicker visibility of new posts? It seems
odd that a logged in user and /planetrss are OK.
Also, ROLLER.RAG_ENTRY does have the new entry.

Essentially, new entry is in ROLLER.RAG_ENTRY, /planetrss and on front page
(logged in). However, it takes a site wide cache flush to have guest see it.

Thanks,
Van


*Enviroment:*

I'm running 4.01, WLS 11g, Oracle DB
The front page is standard:

## get pager over recent posts, uses planet aggregator
#set($pager = $planet.getAggregationPager(14, $recentPosts))
...
 #foreach($entry in $pager.items)
    <div class="entry">
    <h3><a
href="$utils.escapeHTML($entry.permalink)">$utils.truncateNicely($utils.removeHTML($entry.title),
50, 50, "...")</a></h3>
    <p class="entryDetails">
        <a href="$utils.escapeHTML($entry.website.URL)">$utils.removeHTML($
entry.website.name)</a>
        #if($entry.category.name)| $entry.category.name #end
        #if($entry.pubTime) | $utils.formatDate($entry.pubTime, "MMMM dd,
hh:mm a zzz") #end
        #if($entry.creator.userName)| By $entry.creator.userName #end
        <br/>
    </p>
    <p class="entryDescription">
        $utils.truncateNicely($utils.removeHTML($entry.text), 240, 260,
"...")
    </p>
    </div>
    #end

In roller-custom.properties:
# enable planet tasks
tasks.enabled=ScheduledEntriesTask,ResetHitCountsTask,TurnoverReferersTask,\
PingQueueTask,RefreshRollerPlanetTask,SyncWebsitesTask

# config refresh entries task to run every 20 minutes
tasks.RefreshRollerPlanetTask.startTime=immediate
tasks.RefreshRollerPlanetTask.interval=20
tasks.RefreshRollerPlanetTask.leaseTime=30

# sync weblogs to aggregator 4 times daily
tasks.SyncWebsitesTask.startTime=immediate
tasks.SyncWebsitesTask.interval=360
tasks.SyncWebsitesTask.leaseTime=30

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message