Skip to content

Commit 0ab2ba0

Browse files
committed
chore: clean up debug console logs
1 parent 1a2f3a9 commit 0ab2ba0

2 files changed

Lines changed: 0 additions & 8 deletions

File tree

  • apps/backend/src/app/api/latest/internal/external-db-sync

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -245,10 +245,6 @@ export const GET = createSmartRouteHandler({
245245
const pendingRequests = await claimPendingRequests();
246246
iterationSpan.setAttribute("stack.external-db-sync.pending-count", pendingRequests.length);
247247

248-
if (pendingRequests.length > 0) {
249-
console.log(`[Poller] Processing ${pendingRequests.length} pending requests`);
250-
}
251-
252248
const processed = await processRequests(pendingRequests);
253249
iterationSpan.setAttribute("stack.external-db-sync.processed-count", processed);
254250
return { stopReason: null, processed };

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,6 @@ async function backfillSequenceIds(batchSize: number): Promise<boolean> {
138138

139139
span.setAttribute("stack.external-db-sync.did-update", didUpdate);
140140

141-
if (didUpdate) {
142-
console.log(`[Sequencer] Backfilled USR=${projectUserTenants.length} CC=${contactChannelTenants.length} DEL=${deletedRowTenants.length}`);
143-
}
144-
145141
return didUpdate;
146142
});
147143
}

0 commit comments

Comments
 (0)