background threads

Alexandre Riveira alexandre at objectdata.com.br
Mon Jun 18 19:26:57 UTC 2012


Em 18-06-2012 21:55, Eric Wong escreveu:
> So for background threads, I prefer to start it in the app stack
> on the first request (use a mutex to protect against double-starts).
> For rails, you can probably do it in a before_filter.
Eric, como você garante a aplicação não criar uma thread em cada worker

Tanks

Alexandre Riveira
brazil


More information about the rainbows-talk mailing list