Some Daemon options take their own arguments. These weren't gettng
passed in to the deamons gem properly. With this, if we...
delayed_job stop --daemon-options '-w 42'
...the -w 42 gets passed through as expected.
I'm wide open to suggestions for a cleaner/less hacky way to do this, but under a time crunch here to make this work quick, so this is what I've got at the moment.
I didn't see where --daemon-options was currently being tested within delayed_jobs so didn't update the tests.
Some Daemon options take their own arguments. These weren't gettng passed in to the deamons gem properly. With this, if we...
delayed_job stop --daemon-options '-w 42'
...the
-w 42
gets passed through as expected.I'm wide open to suggestions for a cleaner/less hacky way to do this, but under a time crunch here to make this work quick, so this is what I've got at the moment.
I didn't see where
--daemon-options
was currently being tested withindelayed_jobs
so didn't update the tests.