Displaying 1 result from an estimated 1 matches for "mp3_worker".
Did you mean:
max_worker
2007 Feb 05
3
Deploying to production with backgroundrb (capistrano)
I have noticed that occasionally (about 50% of the time) when i
deploy (using capistrano) my app to a production server, i have to
ssh into the box and manually
stop and start backgroundrb to get it to load my workers.
this is my basic setup
i have 2 workers:
lib/workers/mp3_worker.rb => takes a hash of params to downsample an
mp3
lib/workers/flv_worker.rb => takes a has of arguments to compose a
command line to convert a file into flv
in my recipe
config/deploy.rb
i have 2 lines
run "#{current_path}/script/backgroundrb stop"
run "#{curre...