-
Notifications
You must be signed in to change notification settings - Fork 138
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
#230 gearman_wait don't ignore signal by flag #231
base: master
Are you sure you want to change the base?
Conversation
Looks promising! How about a test case? |
I am not a C++ programmer. I just made corrections in the code in an analogy, so that they look like yours. Writing unit tests in C++ is already above my knowledge. |
@borro thanks, I understand where you're at. We may need to follow-up with a test case before we land this. A test case could be tricky though, as we'll need to add signals to the test suite, which I'm not sure are in there, or we need to add an integration test that spins up gearmand and ensures it handles signals that way. For now, does anyone want to try and figure out how to test this bit in the regular test suite? |
Bumping this a bit. Seems useful for usre, but I'd still like to see a test. However, it seems nobody has found the time to figure that out. This adds an API call, so I wonder if we should consider bumping to 1.2.0 if we merge. |
Hi @borro . Could you please file a separate issue that clearly explains the need for this? I converted it to a Draft PR for now ,so we're not confused by the fact that it's not really ready. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs better descriptions and a test.
interrupt in gearman_wait function after signal arrive