Jeremy Mickelson
Jeremy Mickelson
With the way the code is currently structured a task will be orphaned every time the worker is shut down as long as there is at least one free fork...
It looks like the AWS SDK for ruby doesn't support closing the long polling, which means that the worker needs to wait for any current polling to complete and also...
I think I may have a fix for this. I'm going to try a few things and then I'll open a PR if they work.
I have a fix at #118. I'm pretty confident that it is the right way to fix it. Feel free to leave any questions or feedback there.
My fork takes the approach of letting the worker finish its current task before shutting it down. That way it doesn't shut down with an open long poll to AWS...