Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for daemon options with arguments #1114

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jsgarvin
Copy link

@jsgarvin jsgarvin commented May 18, 2020

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, is we...

delayed_job stop --daemon-options '-w 42'

the -w 42 gets passed through as expected.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant