Skip to content

Commit 8dfe984

Browse files
authored
fix: restore start/stop time for reconcileMessagesForFid (#2351)
1 parent 071ea25 commit 8dfe984

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/unlucky-pots-retire.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@farcaster/shuttle": patch
3+
---
4+
5+
fix: restore start/stop times for reconcileMessagesForFid

packages/shuttle/src/shuttle/messageReconciliation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export class MessageReconciliation {
9090

9191
const hubMessagesByHash: Record<string, Message> = {};
9292
// First, reconcile messages that are in the hub but not in the database
93-
for await (const messages of this.allHubMessagesOfTypeForFid(fid, type)) {
93+
for await (const messages of this.allHubMessagesOfTypeForFid(fid, type, startTimestamp, stopTimestamp)) {
9494
const messageHashes = messages.map((msg) => msg.hash);
9595

9696
if (messageHashes.length === 0) {

0 commit comments

Comments
 (0)