de-duplicate relationship jobs
This commit is contained in:
parent
b9e610473b
commit
fc4ed0da5a
1 changed files with 3 additions and 0 deletions
|
|
@ -691,6 +691,9 @@ export class QueueService {
|
|||
count: 100,
|
||||
},
|
||||
...opts,
|
||||
deduplication: {
|
||||
id: `${data.from.id}_${data.to.id}_${data.requestId ?? ''}_${data.silent ?? false}_${data.withReplies ?? false}`,
|
||||
},
|
||||
},
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue