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

feat: add balance check history and improve consumption calculation #15

Merged
merged 2 commits into from
Oct 21, 2024

Conversation

jedna
Copy link
Collaborator

@jedna jedna commented Oct 2, 2024

This PR enhances the logic for calculating average consumption per second by adjusting it to consider a time window equal to the minimal runtime threshold for each canister record.

While fluctuations in the number of reservations between status checks can still lead to inaccuracies, using a longer time window provides a more accurate estimate of consumption over time.

@jedna jedna requested a review from a team as a code owner October 2, 2024 12:28
@jedna jedna requested a review from keplervital October 2, 2024 12:28
@jedna jedna requested a review from a team as a code owner October 21, 2024 12:27
@jedna jedna merged commit a7ecfd8 into main Oct 21, 2024
3 checks passed
@jedna jedna deleted the orb-310-history branch October 21, 2024 12:29
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