{
  "version": 3,
  "sources": ["../../../src/providers/http-polling/config.ts"],
  "sourcesContent": ["/**\n * WordPress dependencies\n */\nimport { applyFilters } from '@wordpress/hooks';\n\nexport const DEFAULT_CLIENT_LIMIT_PER_ROOM = 3;\n\n// Retry delays after poll failures.\n// The disconnect dialog shows after all retries are exhausted, then retries\n// continue at DISCONNECT_DIALOG_RETRY_MS.\nexport const ERROR_RETRY_DELAYS_SOLO_MS = [\n\t2000, 4000, 8000, 12000,\n\t// Solo: 26s total retry time solo before dialog\n];\nexport const ERROR_RETRY_DELAYS_WITH_COLLABORATORS_MS = [\n\t1000, 2000, 4000, 8000,\n\t// With collaborators: 15s total retry time before dialog\n];\n\n// How often to automatically retry the connection when in the disconnect dialog.\nexport const DISCONNECT_DIALOG_RETRY_MS = 30000;\n\n// When a user manually retries on the disconnection dialog, the amount of time\n// until the next automatic retry attempt.\nexport const MANUAL_RETRY_INTERVAL_MS = 15000;\n\nexport const MAX_UPDATE_SIZE_IN_BYTES = 1 * 1024 * 1024; // 1 MB\n\nexport const POLLING_INTERVAL_IN_MS = applyFilters(\n\t'sync.pollingManager.pollingInterval',\n\t4000 // 4 seconds\n) as number;\n\nexport const POLLING_INTERVAL_WITH_COLLABORATORS_IN_MS = applyFilters(\n\t'sync.pollingManager.pollingIntervalWithCollaborators',\n\t1000 // 1 second\n) as number;\n\n// Must be less than the server-side AWARENESS_TIMEOUT (30 s) to avoid\n// false disconnects when the tab is in the background.\nexport const POLLING_INTERVAL_BACKGROUND_TAB_IN_MS = 25 * 1000; // 25 seconds\n"],
  "mappings": ";AAGA,SAAS,oBAAoB;AAEtB,IAAM,gCAAgC;AAKtC,IAAM,6BAA6B;AAAA,EACzC;AAAA,EAAM;AAAA,EAAM;AAAA,EAAM;AAAA;AAEnB;AACO,IAAM,2CAA2C;AAAA,EACvD;AAAA,EAAM;AAAA,EAAM;AAAA,EAAM;AAAA;AAEnB;AAGO,IAAM,6BAA6B;AAInC,IAAM,2BAA2B;AAEjC,IAAM,2BAA2B,IAAI,OAAO;AAE5C,IAAM,yBAAyB;AAAA,EACrC;AAAA,EACA;AAAA;AACD;AAEO,IAAM,4CAA4C;AAAA,EACxD;AAAA,EACA;AAAA;AACD;AAIO,IAAM,wCAAwC,KAAK;",
  "names": []
}
