mirror of
https://github.com/d3vyce/taskiq-deduplication.git
synced 2026-08-04 19:14:07 +00:00
feat: warn when deduplication_key_fields are missing from task kwargs (#68)
This commit is contained in:
@@ -178,6 +178,10 @@ async def send_welcome_email(user_id: int, locale: str) -> None:
|
||||
...
|
||||
```
|
||||
|
||||
If a listed field is absent from a task's kwargs, it is dropped from the
|
||||
fingerprint and a warning is logged, since this can make genuinely different
|
||||
calls collide on the same lock.
|
||||
|
||||
## Opting out per task
|
||||
|
||||
```python
|
||||
|
||||
Reference in New Issue
Block a user