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 default entries count instead of distributed number literals #5273

Merged
merged 1 commit into from
Dec 6, 2019

Conversation

jakobsandberg
Copy link
Contributor

The ENTRIES_DEFAULT_COUNT constant is already used elsewhere in the repository. By using it in place of the distributed number literals, we make the default entries value more configurable. It also reduces the risk of these numbers accidentally becoming out of sync, thus the software is more predictable.

@sulkaharo sulkaharo merged commit 25a6345 into nightscout:dev Dec 6, 2019
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