Skip to content

Commit 42828e1

Browse files
committed
Disable checkAndLogNotification NotificationLog lookup for now
1 parent 99ce515 commit 42828e1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/notify/notification-log.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ export const checkAndLogNotification = async (params: {
1616
blockNumber: number
1717
}): Promise<boolean> => {
1818
const id = `${params.recordType}:${params.recordId}`
19-
const existing = await params.ctx.store.get(NotificationLog, id)
20-
if (existing) return true
19+
// WARNING: Disabled this because we won't be doing any reprocessing for now.
20+
// const existing = await params.ctx.store.get(NotificationLog, id)
21+
// if (existing) return true
2122

2223
await params.ctx.store.upsert(
2324
new NotificationLog({

0 commit comments

Comments
 (0)