Skip to content

Commit de5fb50

Browse files
committed
fix test attempt
1 parent 3f7c74f commit de5fb50

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

apps/backend/src/app/api/latest/internal/external-db-sync/poller/route.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,13 +172,11 @@ export const GET = createSmartRouteHandler({
172172
}
173173

174174
const flowControl = options.flowControl as UpstashRequest["flowControl"];
175-
const deduplicationId = options.deduplicationId as UpstashRequest["deduplicationId"];
176175

177176
return {
178177
url: fullUrl,
179178
body: options.body,
180179
...(flowControl ? { flowControl } : {}),
181-
...(deduplicationId ? { deduplicationId } : {})
182180
};
183181
}
184182

apps/backend/src/lib/external-db-sync-queue.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,7 @@ export async function enqueueExternalDbSyncBatch(tenancyIds: string[]): Promise<
3333
json_build_object(
3434
'url', '/api/latest/internal/external-db-sync/sync-engine',
3535
'body', json_build_object('tenancyId', t.tenancy_id),
36-
'flowControl', json_build_object('key', 'sentinel-sync-key', 'parallelism', 20),
37-
'deduplicationId', t.tenancy_id
36+
'flowControl', json_build_object('key', 'sentinel-sync-key', 'parallelism', 20)
3837
),
3938
NULL,
4039
'sentinel-sync-key-' || t.tenancy_id

0 commit comments

Comments
 (0)