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

Panic if the lookahead limit is misconfigured #1589

Merged
merged 1 commit into from
Jan 14, 2021

Conversation

teor2345
Copy link
Contributor

Motivation

We should panic if the lookahead limit is misconfigured, so the user notices.

Review

@yaahc made this suggestion, it can be merged whenever.

Related Issues

Follow up for #1586.

Follow Up Work

Create a consistent design for:

  • defining limits for each config value
  • enforcing those limits
  • handing limit errors

@teor2345 teor2345 added C-bug Category: This is a bug A-rust Area: Updates to Rust code labels Jan 14, 2021
@teor2345 teor2345 added this to the 2021 Sprint 1 milestone Jan 14, 2021
@teor2345 teor2345 requested a review from yaahc January 14, 2021 03:37
@teor2345 teor2345 self-assigned this Jan 14, 2021
@teor2345 teor2345 merged commit 9cdf41f into ZcashFoundation:main Jan 14, 2021
@mpguerra mpguerra linked an issue Jan 14, 2021 that may be closed by this pull request
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-rust Area: Updates to Rust code C-bug Category: This is a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sync service hangs, but inbound service continues to answer requests
2 participants