Closed brianleect closed 3 years ago
Will try running this version overnight and if it works fine will merge it in the morning.
Logs also show how long before the start time is considered for the TPD
Will probably need to look at the modification related to the docker files to add this new parameter.
Based on testing so far, 0% for first TPD is fixed as expected.
Once there's no issue with the docker side, should be able to merge this PR.
Why don't you call the setting topReportNearestHour: True
it would be way more consistent with the current code.
You should also add the search & replace in the entrypoint.sh
which is straight forward especially you can take it over from DEBUG. Adding it to the docker-compose.yml
is not needed.
Default initializes TPD start time to nearest hour.
Should fix 0% issue at the same time as well since nearest hour would act as a buffer. (Although not the original intention, it's interesting how it happens to fix the issue)