Skip to content

fix: moves zksync missing contribution ingestions to a celery task #10697

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 30, 2022

Conversation

gdixon
Copy link
Contributor

@gdixon gdixon commented Jun 22, 2022

Description

Ingesting contributions from users with a lot of activity on zksync is causing a timeout. We currently pull in all contributions via the zksync api as part of the post request which is too much work to carry out in a user facing request.

This PR moves the zksync ingestion branch into a celery task to not block the request avoiding this timeout issue.

Refers/Fixes

Fixes: #10675

Testing

Tested locally

Copy link
Contributor

@nutrina nutrina left a comment

Choose a reason for hiding this comment

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

LGTM

@gdixon gdixon force-pushed the fix-ingest-as-task branch from 3b5b6d1 to 7bea500 Compare June 22, 2022 10:29
Copy link
Contributor

@tim-schultz tim-schultz left a comment

Choose a reason for hiding this comment

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

LGTM

@nfrgosselin nfrgosselin linked an issue Jun 22, 2022 that may be closed by this pull request
@gdixon gdixon merged commit 61ae63e into stable Jun 30, 2022
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.

Unable to add missing zkSync contributions
4 participants