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 provider selection when limit is set #3816

Merged
merged 4 commits into from
Aug 10, 2022
Merged

Fix provider selection when limit is set #3816

merged 4 commits into from
Aug 10, 2022

Conversation

lutter
Copy link
Collaborator

@lutter lutter commented Aug 4, 2022

Provider selection with a limit did not work as intended because the node name was not passed around correctly, so that rules to set the limit were always evaluated for the node default (commit 209786c fixes that)

To make configuring limits easier and provide more insight into provider selection, this PR also adds a command graphman config provider that makes it possible to see which providers are eligible. Use it as graphman --node-id index_node_0 --config /some/where/graph-node.toml config provider mainnet

@lutter lutter force-pushed the lutter/prov branch 3 times, most recently from af5f0f1 to 75f3de1 Compare August 5, 2022 00:02
@dizzyd dizzyd requested review from leoyvens and evaporei August 5, 2022 15:32
Copy link
Contributor

@evaporei evaporei left a comment

Choose a reason for hiding this comment

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

LGTM :shipit:

@dizzyd
Copy link

dizzyd commented Aug 10, 2022

We'll merge this in next week after file data sources table has had a chance to bake.

@lutter lutter merged commit 8f3e2c1 into master Aug 10, 2022
@lutter lutter deleted the lutter/prov branch August 10, 2022 20:06
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