Replies: 1 comment
-
Thanks for your suggestion @jkrauska. I will convert this Issue into a Discussion so that it can be properly discussed between the community. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Preliminary Checks
Description
Every few seconds I see log lines that could be a lot simplier.
They are using up lots of bytes in logs with irrelevant data -- round some floats please.
eg:
2021-10-03 19:50:03 UTC [Info] Updating new available work took 5.097389221191406 ms
should really be written at most as
2021-10-03 19:50:03 UTC [Info] Updating new available work took 5.097 ms
Steps to Reproduce
Expected Result
2021-10-03 19:50:03 UTC [Info] Updating new available work took 5.097 ms
Actual Result
2021-10-03 19:50:03 UTC [Info] Updating new available work took 5.097389221191406 ms
How frequently do you see this issue?
Always
What is the impact of this issue on your ability to run a node?
Low
Status
Additional information
code:
mina/src/lib/work_selector/work_lib.ml
Line 79 in b137fbd
rounding floats:
https://discuss.ocaml.org/t/rounding-floats-to-number-of-decimals/6921/3
Beta Was this translation helpful? Give feedback.
All reactions