From: Andrew T. <ajt...@hi...> - 2006-06-23 18:59:08
|
But that doesn't resolve the cron-job/background tasks. Hrm... What about PHP firing off children threads/processes for the update? We want to make sure and mark "bad" feeds and not have them update again until the user addresses the issue? Using the rand() means that some feeds may not get updated for a long time, but the user may not notice. Andrew On 6/23/06, Andrew Turner <ajt...@hi...> wrote: > What is the core issue? That the bad feed doesn't just return an > error? What about firing off update processes (say by Javascript) that > would then return success/fail. This would be nice in order for a user > to click "Update Feeds" and dyanmically watch the feeds get updated in > the panel view. > > > > On 6/23/06, Kevin <ke...@dr...> wrote: > > > > Hi team, > > > > So my cron triggered update-all stopped working about a week ago. This is > > on my personal FOFR install. Apparently I've been bitten by a condition > > that others have had problems with. One slow/down feed causes the entire > > update process to fail part way through. > > > > I guess it's time to get off my butt and finish feature #1371230. I'm > > growing tired of having to individually click update for 70+ feeds. > > > > To avoid the bad/down feed problem I figured I would randomize the feed > > update order to give each feed a fair chance to get updated. > > Unfortunately, letting the DB do that is not portable. (See: > > http://www.petefreitag.com/item/466.cfm) > > I'll have to implement that in php. (seems like the shuffle() builtin > > should work for that) > > > > So, does anyone see a problem where the "update all" link really doesn't > > update every feed in the list? It would _only_ update feeds that have not > > been updated within $update_interval. $update_interval is configurable by > > the user on a per-feed basis and will default to 1 hour. Maybe I'll > > change the link to read "update feeds" instead, which is more accurate. > > > > > > -Kevin > > > > > > Using Tomcat but need to do more? Need to support web services, security? > > Get stuff done quickly with pre-integrated technology to make your job easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > > Fofredux-devel mailing list > > Fof...@li... > > https://lists.sourceforge.net/lists/listinfo/fofredux-devel > > > > > -- > Andrew Turner > ajt...@hi... 42.4266N x 83.4931W > http://highearthorbit.com Northville, Michigan, USA > -- Andrew Turner ajt...@hi... 42.4266N x 83.4931W http://highearthorbit.com Northville, Michigan, USA |