Closed brouberol closed 9 years ago
Some usage example of the bind
task attribute, if that's unclear: http://celery.readthedocs.org/en/latest/userguide/tasks.html#retrying
@brouberol Looks great! Wanna rebase this into one commit and I'll merge?
Done!
The repr of a task contains a memory address (ex
"<@task: sometask of package:0x7f0211153990>"
), that will differ between the task caller and the worker itself. Consequently, the lock will never get removed (until it expires) as the generated keys will differ.By removing the repr from the lock, only the actual task arguments and keyword arguments are used.