Cameron Maske
Cameron Maske
+1
@Cally99 Your `/tmp/` will be cleared each time you start/stop the container. Hence, the locks will not be ensured as the directory, they are stored in does not persist between...
My theory is that it's due to the task still being in the broker (i.e. unprocessed) but the lock file is removed before the task is run. The lock is...
Hey @kurosaki0 Full guide over here https://github.com/cameronmaske/celery-once/blob/master/BACKEND_GUIDE.rst
Hey @harrybiddle Sorry for my delay in following up on this. This is a neat idea, and I think it is valuable for other's use cases. If you'd like to...
Fair point! Would be easy enough to replace six, as it's only used twice. https://github.com/TrackMaven/celery-once/search?utf8=%E2%9C%93&q=six ``` import sys PY3 = sys.version_info[0] == 3 if PY3: def items(d): d.items() else: def...
@imomaliev Not yet. I have a commercial project that uses this + Python 2.7. So for now, keeping this around. Will re-visit after Python2's EOF date.
Hey @grayguest sorry for my lack of reply, but seems you found the source. I'm gonna close this out for now, if you have an interest in making the prefix...
@boundless-thread Certainly, that's a nice paradigm! PR welcome. Alternatively, you can keep the keys separated by assigning them a different Redis DB within the same server, i.e. `redis://localhost:6379/?db=2`
@ZhitongLei Any chance you could put together a minimal example that reproduces this issue? From trying the file backend locally I haven't been able to recreate this.