Skip to main content
Altcraft Docs LogoAltcraft Docs Logo
User guideDeveloper guideAdmin guide
Company siteHelp center
English
  • Русский
  • English
v72
  • v74
  • v73
  • v72
Login
  • Getting Started
  • Administrator documentation
  • Functional characteristics
  • Technology description
  • System requirements
  • Admin Panel
  • Platform installation
  • Platform configuration
    • Configuration file
    • Domain settings
    • LDAP access configuration
    • Sending Email via SMTP relay
    • Pixel and push domain configuration
    • Cluster and Replication Setup
    • System notifications configuration
    • Processes UNIX sockets configuration
    • HTTPS Configuration
    • External SQL database integration
    • Adding sender IP addresses
    • Deduplication request settings
    • PostgreSQL database for account data
    • Proxy server settings
    • Getting HTTP service statuses
    • Configuration MongoDB logs rotation
    • Configuration of system constants and directories
  • Platform maintenance
  • Custom channels guide
  • Extra
  • Processing HTTP/HTTPS traffic
  • Administrator API
This is documentation for Altcraft Platform v72. This documentation is no longer maintained.
The information for up-to-date platform version at this page is available (v74).
  • Platform configuration
  • Deduplication request settings
Documentation for version v72

Deduplication request settings

Repeat requests are API requests that contain the same headers and the same data as the original request. A repeated request can be sent if the connection failed at the moment of receiving the data.

The platform will not accept a repeated request if it changes the data in order to avoid duplicate events. This scheme works by default and does not require additional configuration. By default, the platform deduplicates within 1 day from the first request.

To configure deduplication, specify the following parameters in the main.json configuration file:

"API_DEDUPLICATION_ENABLE": true,
"API_DEDUPLICATION_LEVELDB_PATH": "data/api/deduplication",
"API_DEDUPLICATION_LIVE_TIME_SEC": 86400,
"API_DEDUPLICATION_PERIOD_SEC": 1800
ParameterTypeDefault valueRequiredDescription
API_DEDUPLICATION_ENABLEbooltrueNoEnable deduplication
API_DEDUPLICATION_LEVELDB_PATHstringdata/api/deduplicationNoLevelDB storage location directory
API_DEDUPLICATION_LIVE_TIME_SECint86400NoThe maximum number of seconds between identical requests. If more time passes between requests, the request will not be treated as a repeated one.

by default – 1 day
API_DEDUPLICATION_PERIOD_SECint1800NoDeduplication database cleanup period (in seconds)

by default – 30 minutes
Last updated on Apr 11, 2023
Previous
Adding sender IP addresses
Next
PostgreSQL database for account data
© 2015 - 2025 Altcraft, LLC. All rights reserved.