On May 12, 1:48 am, News Aanad <[email protected]> wrote: > Can you tell me that how many times the server loads all the files? > Because when I start the server it execute the same code multiple times > after some period of time.
This is *another* good reason to not try to do this in an initializer - the process will get launched once for each application instance. Typically, most deployment setups wind up with more than one instance (Passenger starts 6 by default, I believe). Some environments will also shut down idle instances after a period of idleness and then start more up when traffic appears. --Matt Jones -- 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.

