2009/3/20 Florian Bösch <[email protected]>: > > On Mar 20, 12:44 pm, Graham Dumpleton <[email protected]> > wrote: >> Your original query made it sound like that you wanted the behaviour >> for any URL, not just a specific URL. > > Yes, my intention is that for any URL that would hit my code, if the > code is stale a reload should happen.
Which is a potentially expensive check you would be doing on every request. I have in the past entertained allowing a user provided hook to be supplied which would allow a user to implement their own function to decide if a restart should be done or not, but do not believe that it is really needed. I am open to what other people have to say about this, but it will be hard to convince me given it is a messy thing to implement and it isn't obvious where the user supplied function should reside or how to define where it may reside. People tend to be more than happy with the current ability to trigger it explicitly by touching the WSGI script file explicitly, or by special URL touching it or signaling the process. Graham --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "modwsgi" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/modwsgi?hl=en -~----------~----~----~----~------~----~------~--~---
