de-duplicate relationship jobs

This commit is contained in:
Hazelnoot 2025-07-26 19:37:54 -04:00
parent b9e610473b
commit fc4ed0da5a

View file

@ -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}`,
},
},
};
}