PolicyStat / jobtastic

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

Expose method to extend lock timeout #83

Open thenewguy opened 4 years ago

thenewguy commented 4 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 4 years ago

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