-
Notifications
You must be signed in to change notification settings - Fork 41.2k
MeterValue with "d" suffix not parsed as Duration for timer #28302
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
Comments
Hi @bespaltovyj ,
But this is an interesting problem. The root cause of this problem is that we will eventually convert the value to a double type, but for the value like |
The documentation for the
I think we should be aiming to match the implementation to that documentation. |
It looks like this worked in 2.2 but the behaviour changed due to #20837. Contrary to what I said above, it looks like the documentation for the |
If we assume that |
Uh oh!
There was an error while loading. Please reload this page.
Spring Boot Version 2.4.8
If you specify a value with the suffix
d
for the timer when setting slo, then it is parsed as a number, not a duration.Example:
The values of the baskets will be
1, 2 ,3
, but required86400s, 172800s, 259200s
.test example
To work around this problem, I specify the duration in hours.
The text was updated successfully, but these errors were encountered: