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.


On Wed, May 11, 2011 at 9:46 PM, Tim Shaffer <[email protected]> wrote:

> That actually makes sense. Rails waits for the initializer to finish
> running before running the rest of your application. So if you have an
> infinite loop in there, it'll never finish running.
>
> Might be best to spawn another process using Thread or just run that code
> as part of a cron job or other manual process.
>
> Would help to understand what your code is trying to do.
>
>  --
> 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.
>

-- 
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.

Reply via email to