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

feat: added sync cronjob and endpoints #14

Draft
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Tguntenaar
Copy link
Collaborator

Resolves #1022

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

  1. PROPOSAL_SYNC_INTERVAL
  2. 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.

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.

Bug in indexer due to Nearblocks incident
1 participant