Skip to content
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

Bug in indexer due to Nearblocks incident #1022

Open
Tguntenaar opened this issue Jan 28, 2025 · 0 comments · May be fixed by NEAR-DevHub/neardevhub-api-rs#14
Open

Bug in indexer due to Nearblocks incident #1022

Tguntenaar opened this issue Jan 28, 2025 · 0 comments · May be fixed by NEAR-DevHub/neardevhub-api-rs#14
Assignees
Labels
bug Something isn't working

Comments

@Tguntenaar
Copy link
Collaborator

Tguntenaar commented Jan 28, 2025

Due to the nearblocks.io API incident Devhub and infrastructure-committee portal is behind.

The temporary solution is to keep syncing every ten seconds and removing dependency on the nearblocks API.

Added code for a cronjob to scan for new rfp's and proposals based on two environment secrets:

PROPOSAL_SYNC_INTERVAL
RFP_SYNC_INTERVAL
If these secrets are not set it won't call the RPC.

Also added two endpoints for rfp and proposal to sync manually if an incident like this happens again, we can just quickly sync manually and than turn on the interval updates until any issues have been resolved.

@Tguntenaar Tguntenaar converted this from a draft issue Jan 28, 2025
@Tguntenaar Tguntenaar self-assigned this Jan 28, 2025
@Tguntenaar Tguntenaar added the bug Something isn't working label Jan 29, 2025
@Tguntenaar Tguntenaar moved this from 🏗 In progress to 👀 In review in 🚀 DevHub Products Jan 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: 👀 In review
Development

Successfully merging a pull request may close this issue.

1 participant