OpenSearch/server
Jason Tedor 3b48b99861
Fix setting by time unit (#37192)
This commit fixes an issue with a settings builder method that allows
setting a duration by time unit. In particular, this method can suffer
from a loss of precision. For example, if the input duration is 1500
microseconds then internally we are converting this to "1ms",
demonstrating the loss of precision. Instead, we should internally
convert this to a TimeValue that correctly represents the input
duration, and then convert this to a string using a method that does not
lose the unit. That is what this commit does.
2019-01-07 14:59:24 -08:00
..
licenses Upgrade master to lucene-8.0.0-snapshot-a1c6e642aa (#37091) 2019-01-02 20:18:19 -06:00
src Fix setting by time unit (#37192) 2019-01-07 14:59:24 -08:00
build.gradle Split third party audit exclusions by type (#36763) 2019-01-07 17:24:19 +02:00