Deduplication for workers

For Workers & Pages, what is the name of the domain?

``

What is the issue or error you’re encountering

what is the easiest way when queueing to avoid duplication based on params. Would that be KV and removing the key once the message is acknowledged?

What are the steps to reproduce the issue?

not an issue

Are you looking to achieve something like this:

Before enqueueing, generate a unique key based on your message params (hash of the params for example).
Check in KV if the key exists:
If it does, skip enqueueing.
If it doesn’t, add it and proceed to enqueue.

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.