Re: 1 cset was pushed to modules/stable: bug 3740 - regenerate the static/session...
"Jason Judge" <[email protected]>
| Newsgroups | gmane.comp.cms.xaraya.bk-notices |
|---|---|
| Organization | Xaraya |
| Message-ID | <[email protected]> |
"Carl P. Corliss" <[email protected]> wrote in message news:[email protected]... > Jonn Beames wrote: > > Changes were applied by jsb to modules/stable level 20. > > The following cset was applied: > > > > ChangeSet > > 1.1639 05/02/05 22:04:48 [email protected] +4 -0 > > bug 3740 - regenerate the static/sessionless url cache as a background process. > > > > this seems a bit hackish, but it works. Perhaps we could > > use a background process generator/manager as part of the > > xaraya framework. > > 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