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

fix(api): improve optional payload handling for getAsset #102

Merged
merged 1 commit into from
Jul 24, 2023

Conversation

NicolasPennie
Copy link

Overview

  • Handle optional args more gracefully. It'll tell you which arg was unexpected if you make a typo.

Testing

  • Local

@NicolasPennie NicolasPennie merged commit ca37279 into helius Jul 24, 2023
2 checks passed
@NicolasPennie NicolasPennie deleted the param-handling-fix branch July 24, 2023 22:20
NicolasPennie pushed a commit that referenced this pull request Oct 15, 2023
This moves the queues the acc forwarder and txn forwarder uses to be backfill queues. This allows us to backfill without disturbing ingestion of new data coming in. This can be quite important considering the need for latest data for proofs to work. It aligns well with the changes introduced via out of order processing allowing us to introduce past history while still maintaining proof status.

We have been running this in our infrastructure:

It allows us to ingest a tree with 1mn/2mn transactions (which can take a little time) while staying on the tip with all other trees because they aren ot competing for queue space. This means that the "on tip queue" never has more than a few seconds worth of transactions in it, while the backfill queue can have a lot more and can be used to fill in trees that have been missed in ingestion.
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.

1 participant