PolicyStat / jobtastic

Make your user-responsive long-running Celery jobs totally awesomer.
http://policystat.github.com/jobtastic/
MIT License
644 stars 61 forks source link

Expose method to extend lock timeout #83

Open thenewguy opened 5 years ago

thenewguy commented 5 years ago

It is generally useful to use a short lock timeout and request extensions as required. Redis recommends this practice.

It should be fairly straightforward to implement as a backend specific function yielded by the context manager at this spot

thenewguy commented 5 years ago

This is helpful for issue https://github.com/PolicyStat/jobtastic/issues/68