We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
unique_on
1 parent 5b0a00d commit c2cf1cdCopy full SHA for c2cf1cd
README.md
@@ -128,7 +128,7 @@ This can be used to make celery-singleton only consider certain arguments when d
128
For example, this task allows only one instance per username, other arguments don't matter:
129
130
```python
131
-@app.task(base=Singleton, unqiue_on=['user_id', ])
+@app.task(base=Singleton, unique_on=['user_id', ])
132
def do_something(username, otherarg=None):
133
time.sleep(5)
134
0 commit comments