Skip to content

feat: Add subscription delay envvar #513

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
May 2, 2024
Merged

Conversation

arcoraven
Copy link
Contributor

@arcoraven arcoraven commented May 2, 2024

PR-Codex overview

The focus of this PR is to add a new environment variable CONTRACT_SUBSCRIPTIONS_DELAY_SECONDS and utilize it to compute block offsets in the chain indexer tasks.

Detailed summary

  • Added CONTRACT_SUBSCRIPTIONS_DELAY_SECONDS environment variable
  • Used the variable to calculate block offsets in chain indexer tasks
  • Refactored createChainIndexerTask function to accept block offset parameter

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Copy link

zeet-co bot commented May 2, 2024

We're building your pull request over on Zeet.
Click me for more info about your build and deployment.
Once built, this branch can be tested at: https://web3-api-akbv-ph-addsubscriptiond-fed809.chainsaw-dev.zeet.app before merging 😉

@farhanW3 farhanW3 merged commit b83f428 into main May 2, 2024
4 of 5 checks passed
@farhanW3 farhanW3 deleted the ph/addSubscriptionDelaySeconds branch May 2, 2024 02:35
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