Sometimes I need to run on specific MIQ worker in foreground. rake evm:start runs all the workers, but if I need just one, how can I do that?
rake evm:start
In case if you are unsure what workers to work with, you might be able to do the following:
run evm server normally: bundle exec rake evm:start and see what worker types were running: bundle exec rake evm:status
evm
bundle exec rake evm:start
bundle exec rake evm:status
kill evm server: bundle exec rake evm:stop
bundle exec rake evm:stop
ruby lib/workers/bin/run_single_worker.rb MiqWorkerClassHere
In case if you are unsure what workers to work with, you might be able to do the following:
run
evm
server normally:bundle exec rake evm:start
and see what worker types were running:bundle exec rake evm:status
kill
evm
server:bundle exec rake evm:stop
ruby lib/workers/bin/run_single_worker.rb MiqWorkerClassHere