Hi Cliff,

Thanks for the suggestion. Didn't thought of that also. My next
question would be, where do I put the code to start the em timers?
Initializers? Thanks for the enlightment.

Kind regards,
joshua.

On Wed, Oct 13, 2010 at 10:55 AM, Clifford Heath
<[email protected]> wrote:
> On 13/10/2010, at 10:42 AM, Joshua Partogi wrote:
>>
>> ...where do we put piece of
>> code that runs on a separate thread for a long time every 5 seconds?
>
> If you have the choice of server, I'd consider using Thin and doing this
> using EventMachine timers.



-- 
http://twitter.com/scrum8

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" 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/rails-oceania?hl=en.

Reply via email to