7 ms·
1. It's optional. "rake environment resque:work" will give you access to the whole rails environment, so you can write normal rails code. But it of course use
by kgo 16y ago
1. It's optional.
"rake environment resque:work" will give you access to the whole rails environment, so you can write normal rails code. But it of course uses a bunch of memory.
If you're doing something quick and dirty and don't need the rails model (sending out a password email or whatever), you can just run "rake resque:work" and avoid the overhead of the whole rails environment.