I don't understand. If checking if a template has already been compiled is thread-safe, checking the modification date should also be thread-safe.
If thread safety is the issue here, would there be an option for me to reset all compiled templates at once? On Oct 31, 2:08 pm, "Maurício Linhares" <[EMAIL PROTECTED]> wrote: > My bet is that it isn't thread-safe. Two actions may check at the same > time, both will get a "true" and both will try to update the cache. > > - > Maurício Linhareshttp://alinhavado.wordpress.com/(pt-br) > |http://blog.codevader.com/(en) > João Pessoa, PB, +55 83 8867-7208 > > On Fri, Oct 31, 2008 at 10:06 AM, Matthijs Langenberg > > <[EMAIL PROTECTED]> wrote: > > > Fred, > > > I think I could write a patch that will take the file modification > > date into consideration, but I'm also eager to know, why the check has > > actually been removed. > > > - Matthijs --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" 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/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

