Skip to content

The open alternative to Salesforce, designed for AI.

331 B
Raw Blame
const APP_INGESTION_LOCK_TTL_MS = 60_000;
const APP_INGESTION_LOCK_RETRY_INTERVAL_MS = 500;

export const APP_INGESTION_LOCK_OPTIONS = {
  ttl: APP_INGESTION_LOCK_TTL_MS,
  ms: APP_INGESTION_LOCK_RETRY_INTERVAL_MS,
  maxRetries:
    Math.ceil(
      APP_INGESTION_LOCK_TTL_MS / APP_INGESTION_LOCK_RETRY_INTERVAL_MS,
    ) + 10,
};