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

Fix multi-day live metrics #438

Closed
wants to merge 1 commit into from

Conversation

cryptoquick
Copy link
Member

So, I noticed that at midnight, the Hut8 server resets our live metrics to 0, so we still need to collect metrics every night in order to tally the last day. That's the simplest way around the issue, at least. Still, this takes our server from running metrics 6 times a day to just once.

Also, I have ChatGPT help me with the solution to calculating minutes to midnight. Hopefully that code makes sense.

Copy link
Member

@josediegorobles josediegorobles left a comment

Choose a reason for hiding this comment

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

LGTM.
Makes sense

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