Re: 1 cset was pushed to modules/stable: bug 3740 - regenerate the static/session...

Jonn Beames <[email protected]>
Newsgroups gmane.comp.cms.xaraya.bk-notices
Organization Xaraya
Message-ID <[email protected]>
Jason Judge wrote:
> "Carl P. Corliss" <[email protected]> wrote in message
>>
>>Is this gonna work in other OS' besides linux? :-)
> 
> 
> No, it won't - it needs to come out - well spotted ;-) Not to mention what
> shared hosters will say about background jobs being created like that,
> especially if they get spawned too quickly and don't end fast enough.
> 
> John - if this could be implemented as a function capable of being triggered
> by the schedular, then that would be ideal. I don't know if we have a
> generic mechanism in place yet to handle non-reantrant scheduled jobs (to
> prevent another job starting while the current one is still running - and
> not even sure how we could implement such a thing without OS-portable
> lockfiles), but if we do, it could be included. Either way, backgound jobs
> are definately a no-no. cron/at/schedular is the way to invoke those, or
> inittab/services for daemons.
> 
> -- JJ
> 
> 

Sure, it can be done as a scheduled task.  Everything is there to do it 
that.  The request I keep getting is for the cache to regenerate when it 
is invalidated by event, not time.

Oh well, I'll take it out and put the request back on the todo list to 
be implemented some other way.

  - Jonn
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.