We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 930af49 commit 1faabf1Copy full SHA for 1faabf1
.changeset/five-masks-bow.md
@@ -0,0 +1,5 @@
1
+---
2
+'@segment/analytics-next': minor
3
4
+
5
+Change default retries to 10 to match docs + ajs classic
packages/browser/src/core/analytics/index.ts
@@ -68,7 +68,7 @@ function createDefaultQueue(
68
retryQueue = false,
69
disablePersistance = false
70
) {
71
- const maxAttempts = retryQueue ? 4 : 1
+ const maxAttempts = retryQueue ? 10 : 1
72
const priorityQueue = disablePersistance
73
? new PriorityQueue(maxAttempts, [])
74
: new PersistedPriorityQueue(maxAttempts, name)
0 commit comments