• Previous message: [greg-dev] Update Interval Patch
  • Next message: [greg-dev] Update Interval Patch
  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    [greg-dev] Update Interval Patch

    ---
    Reply to Marco Bonetti @ Sunday October 30, 2005. 06:26:39 PM +0100:
    
    + Chris,
    + thank you for your patches!
    + 
    + We're currently assessing whether we should pick your solution (adding
    + a new column to the channels table) or implement a more generic feed
    + properties repository (a new feed-properties table) which would also
    + cover other feature-request, like having feeds hidden from the
    + front-page.
    + 
    
    Ah, cool.  By implementing the second method, wouldn't it require a join with
    almost every query of table?  Or do you mean something like how 'config' works,
    where you can just look it up the values by key?
    
    I'll be glad to change it if need be.
    
    +  -m
    + 
    + 
    + 
    + 
    + 
    + On 10/29/05, Chris J. Friesen <Darth_Sebulba05 at phreaker.net> wrote:
    + > Ah, cool
    + >
    + > http://svn.gregarius.net/trac/attachment/ticket/243/updateinterval.diff
    + >
    + > Chris
    + > ---
    + > Reply to Sameer D'Costa @ Saturday October 29, 2005. 02:23:59 PM -0500:
    + >
    + > + This sounds interesting. You can attach the patch to this ticket
    + > + http://svn.gregarius.net/trac/ticket/243 or send it to the list. I
    + > + usually attach a patch to a ticket and then send a follow up email to the
    + > + list if needed.
    + > +
    + > + Sameer
    + > +
    + > +
    + > + On Sat, Oct 29, 2005 at 02:10:59PM -0400, Chris J. Friesen wrote:
    + > +
    + > + > Date: Sat, 29 Oct 2005 14:10:59 -0400
    + > + > From: "Chris J. Friesen" <Darth_Sebulba05 at phreaker.net>
    + > + > To: gregarius-dev at sinless.org
    + > + > Subject: [greg-dev] Update Interval Patch
    + > + > Reply-To: gregarius-dev at sinless.org
    + > + >
    + > + > Hello all,
    + > + >
    + > + >   I have written a configuration option to only have a feed updated on
    + > + >   a certain interval.  It does this by setting the MAGPIE_CACHE_AGE
    + > + >   constant before the feed is updated.
    + > + >
    + > + >   What this allows is not having to refresh every feed at every refresh
    + > + >   period.  Intead, one can set the cache age to 360 minutes and only
    + > + >   have it check for an update 4 times a day.  This is useful for feeds
    + > + >   that one knows don't change very often and also saves the bandwidth
    + > + >   of the queries to check for changes.
    + > + >
    + > + >   For feeds that support it, it will import the "updateperiod" of the
    + > + >   feed when it is added.  If it doesn't, it will default to the
    + > + >   refreshafter config variable, unless that option is 0, then the
    + > + >   default is 60.
    + > + >
    + > + >   Is there an official place to upload this patch for review/inclusion
    + > + >   or should I just send it to the list?
    + > + >
    + > + >   Thanks,
    + > + >     Chris
    + > + >
    + > + > --
    + > + > Public Key:
    + > + >
    + >
    http://darthsebulba.is-a-geek.org/Key/Darth_Sebulba05-at-phreaker-net_pub.key
    + > +
    + > +
    + > +
    + > + > _______________________________________________
    + > + > gregarius-dev mailing list
    + > + > gregarius-dev at sinless.org
    + > + > http://sinless.org/mailman/listinfo/gregarius-dev
    + > +
    + > + _______________________________________________
    + > + gregarius-dev mailing list
    + > + gregarius-dev at sinless.org
    + > + http://sinless.org/mailman/listinfo/gregarius-dev
    + > +
    + >
    + >
    + > --
    + > Public Key:
    + >
    http://darthsebulba.is-a-geek.org/Key/Darth_Sebulba05-at-phreaker-net_pub.key
    + >
    + >
    + > _______________________________________________
    + > gregarius-dev mailing list
    + > gregarius-dev at sinless.org
    + > http://sinless.org/mailman/listinfo/gregarius-dev
    + >
    + >
    + >
    + >
    + 
    + _______________________________________________
    + gregarius-dev mailing list
    + gregarius-dev at sinless.org
    + http://sinless.org/mailman/listinfo/gregarius-dev
    + 
    
    
    -- 
    Public Key:
    http://darthsebulba.is-a-geek.org/Key/Darth_Sebulba05-at-phreaker-net_pub.key
    -------------- next part --------------
    A non-text attachment was scrubbed...
    Name: signature.asc
    Type: application/pgp-signature
    Size: 307 bytes
    Desc: not available
    Url : http://sinless.org/pipermail/gregarius-dev/attachments/20051030/e404936b/signature.bin
    
    Posted by Chris J. Friesen [reply] at Sun Oct 30 19:42:39 CET 2005