Skip to content

Fix contract update - #676

Merged
tdroxler merged 2 commits into
masterfrom
fix-contract-update
Aug 13, 2026
Merged

Fix contract update#676
tdroxler merged 2 commits into
masterfrom
fix-contract-update

Conversation

@tdroxler

Copy link
Copy Markdown
Member

When we catch up the syncing, we sync 30min of block at a time, but if suddenly there are a lot of contracts event within those 30min, it was crashing the app as the DB couldn't update in parrallel every contracts.

This commit fix it by applying the same foldFutures as for tokens

The first commit show the issue, second commit fix it

@tdroxler
tdroxler requested a review from h0ngcha0 August 12, 2026 12:09

@h0ngcha0 h0ngcha0 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@tdroxler
tdroxler merged commit ef94d2b into master Aug 13, 2026
2 checks passed
@tdroxler
tdroxler deleted the fix-contract-update branch August 13, 2026 09:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants