Skip to content

Commit ef82ce6

Browse files
committed
fix(polling): remove extraneous comment from calendar poller
1 parent d1ae3b2 commit ef82ce6

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

apps/sim/lib/webhooks/polling/google-calendar.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,6 @@ export const googleCalendarPollingHandler: PollingProviderHandler = {
118118
const events = await fetchChangedEvents(accessToken, calendarId, config, requestId, logger)
119119

120120
if (!events.length) {
121-
// Do not advance the timestamp when no events are found — only server-side timestamps
122-
// from actual event responses are used to advance the cursor. Advancing to the client
123-
// clock risks skipping events whose server-side updated timestamp falls in any clock
124-
// skew gap between the client and Google's servers.
125121
await markWebhookSuccess(webhookId, logger)
126122
logger.info(`[${requestId}] No changed events for webhook ${webhookId}`)
127123
return 'success'

0 commit comments

Comments
 (0)