Closed dongxiaoman closed 6 years ago
When querying workload, only look back 2 hours for maximum workload instead of looking back 25 hours. This will help prevent cases when in the past day there were cases like failover and we over-estimate.
Added some unit test to test the new logic.
looks good to me
When querying workload, only look back 2 hours for maximum workload instead of looking back 25 hours. This will help prevent cases when in the past day there were cases like failover and we over-estimate.