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

fully synced miner shows incorrect info on boot #50

Closed
shawaj opened this issue Jun 3, 2021 · 5 comments
Closed

fully synced miner shows incorrect info on boot #50

shawaj opened this issue Jun 3, 2021 · 5 comments

Comments

@shawaj
Copy link
Member

shawaj commented Jun 3, 2021

After rebooting:
image

This is the same device a few minutes later:
image

@ryanteck
Copy link
Contributor

ryanteck commented Jun 3, 2021 via email

@ryanteck ryanteck closed this as completed Jun 3, 2021
@shawaj
Copy link
Member Author

shawaj commented Jun 5, 2021

I think after boot it should not default to 0% 0/xxx blocks because this will just confuse people.

If it can't get the diagnostics from the miner due to it booting up before it should have an error message saying "Waiting for miner" or similar

@shawaj shawaj reopened this Jun 5, 2021
@ryanteck
Copy link
Contributor

ryanteck commented Jun 8, 2021

It's a bit of a mixed one as primarily all this page does is present a human readable form of the diagnostics json file which I then planned to implement into the BTLE software to speed that up of which if I was to edit the data which is stored to something which isn't a number then could cause that to break.

I could possibly have it set to another number which isn't 0, then test on the HTML generation if the number is that display waiting for miner.

@ryanteck
Copy link
Contributor

ryanteck commented Jun 8, 2021

It looks like it defaults to 1 at very first initial setup, so I can have the test be if it is 0 to say it's waiting for a response.

@ryanteck
Copy link
Contributor

ryanteck commented Jun 9, 2021

I've added in a test so if it is still loading that it now displays that it is still loading.

Screenshot from 2021-06-09 11-53-42

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

No branches or pull requests

2 participants