Skip to content

Commit 4ba5054

Browse files
authored
Fix another typo in unique_on example
1 parent c2cf1cd commit 4ba5054

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ This can be used to make celery-singleton only consider certain arguments when d
128128
For example, this task allows only one instance per username, other arguments don't matter:
129129

130130
```python
131-
@app.task(base=Singleton, unique_on=['user_id', ])
131+
@app.task(base=Singleton, unique_on=['username', ])
132132
def do_something(username, otherarg=None):
133133
time.sleep(5)
134134

0 commit comments

Comments
 (0)