Skip to content
CCPEDIAby Unity Nodes
Discussions/App Development/Deduplication over the last 24 hoursForum ↗

Deduplication over the last 24 hours

App Development2 posts240 views1 likesLast activity Sep 2022
ME
meetOP
Sep 2022
  1. What is the maximum deduplication duration for commands submitted to a Participant Node on Canton for Postgres?

  2. If I want to ensure uniqueness of requests (assuming a request is uniquely identified by a combination of client ID & request ID) received over the last 24 hours, what is the recommended approach? Can I use command deduplication for that with either duplication duration or duplication offset, or do I have to use Contract Keys to prevent duplicate requests?

BE
bernhard
Sep 2022

You can configure the maximum deduplication period per participant: https://docs.daml.com/2.3.4/canton/scaladoc/com/digitalasset/canton/participant/config/LedgerApiServerConfig.html

The default is 7 days. So using the deduplication feature for 24 hours should work by default.

← Back to Discussions