Ben Bangert
Ben Bangert
I guess since there's already a global lock that works with caching in retools, I'm a bit confused what to do for this. - Add a dependency on dogpile for...
Ah good, I can add support to zktools as well.
Welp, dogpile.cache was written afaik, now for someone to write a plugin. :)
I believe tarek has some additional wrappers on top of retools that handle something like this.
Wouldn't a general shut-down event handle job_aborted? Or perhaps setting a variable during job_aborting that the on quit handler can see.
Sure, though currently when jobs are in process, they are moved to the worker's key in Redis to indicate they're being worked on. I think this sounds like a good...
Yep, I'll look at reversing that unless you'd like to get a PR up to undo it. I should be able to get to it within the week otherwise.
One of the main issues is that twisted doesn't allow in-place interrupts which is what the gevent bits rely on. I think a bigger effort will have to be made...
I don't see why we can't have a with statement version. I'll admit the main reason that I didn't include it the first time is that people get used to...
@diranged I don't know if the latest 2 dev has a fix for this offhand. If you can reproduce on staging, maybe you can test it there?