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

Set history limit to None, if unset #297

Merged
merged 1 commit into from
Jul 10, 2020
Merged

Conversation

ryan-lane
Copy link
Contributor

@ryan-lane ryan-lane commented Jul 10, 2020

HISTORY_PAGE_LIMIT uses int_env, which defaults to 0, rather than None. If the limit is set to 0, it'll be sent to the client as an int, which will request history with a limit of 0, rather than None. This change sets HISTORY_PAGE_LIMIT to None if unset, which correctly handles unlimited paging sizes.

@ryan-lane
Copy link
Contributor Author

Fixes #296

@ryan-lane ryan-lane merged commit b8e4daf into master Jul 10, 2020
@ryan-lane ryan-lane deleted the limit-setting-should-be-none branch July 10, 2020 16:46
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