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

Use large cluster for slippage execution #321

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Conversation

bh2smith
Copy link
Contributor

This makes execution faster and less likely to queue.

@bh2smith bh2smith requested a review from a team July 25, 2023 12:55
src/fetch/dune.py Outdated Show resolved Hide resolved
Copy link
Contributor

@gentrexha gentrexha left a comment

Choose a reason for hiding this comment

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

Left a discussion comment. Other than that, LGTM.

self,
query: Query,
job_id: Optional[str] = None,
performance: str = "medium",
Copy link
Contributor

Choose a reason for hiding this comment

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

In my opinion since this is business critical we should be defaulting to large. What do you think?

Suggested change
performance: str = "medium",
performance: str = "large",

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes I like it. In that case we can set the default performance when instantiating the client. I'll move the parameter to the appropriate place.

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