Skip to content

Conversation

@reeshavacharya
Copy link
Collaborator

  • USE_GH_API when set to true, will query directly from GitHub. When false, will get data from the cached mappings folder.
  • SCHEDULE_UPDATE when set to true, will copy the mappings folder and update the local offchain-metadata folder every 2 days. When set to false, will do nothing.
  • Update health endpoint:
    • Will return last commit info (author, date, hash, message).
    • Additionally:
      • Will return next schedule date and ETA if SCHEDULE_UPDATE is true.
      • Will return response time when USE_GH_API is true.
  • Update Dockerfile to copy offchain-metadata from build to production.
  • Update GitHub workflow.

Copy link
Contributor

@mesudip mesudip left a comment

Choose a reason for hiding this comment

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

Nicely Done

@mesudip mesudip merged commit 222ae80 into main Mar 18, 2025
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.

3 participants