diff --git a/frontend/package-lock.json b/frontend/package-lock.json index e41f20a4..fe3e6b70 100644 --- a/frontend/package-lock.json +++ b/frontend/package-lock.json @@ -6737,6 +6737,7 @@ "ts-loader": "^9.5.2", "tslib": "2.8.1", "typescript": "5.7.3", + "uuid": "^11.1.0", "webpack": "^5.98.0", "webpack-cli": "^6.0.1" } diff --git a/frontend/sync-client/package.json b/frontend/sync-client/package.json index 94340f33..1d3618ca 100644 --- a/frontend/sync-client/package.json +++ b/frontend/sync-client/package.json @@ -12,6 +12,7 @@ "devDependencies": { "tslib": "2.8.1", "typescript": "5.7.3", + "uuid": "^11.1.0", "sync_lib": "file:../../backend/sync_lib/pkg", "@types/jest": "^29.5.14", "@types/node": "^22.13.5", @@ -26,4 +27,4 @@ "webpack": "^5.98.0", "webpack-cli": "^6.0.1" } -} +} \ No newline at end of file diff --git a/frontend/sync-client/src/utils/retried-fetch.ts b/frontend/sync-client/src/utils/retried-fetch.ts index e4c47f07..1a49c704 100644 --- a/frontend/sync-client/src/utils/retried-fetch.ts +++ b/frontend/sync-client/src/utils/retried-fetch.ts @@ -31,7 +31,6 @@ export function retriedFetchFactory( } return false; }, - retries: 6, retryDelay: (attempt) => Math.pow(1.5, attempt) * 500, ...init });