paypal / squbs

Akka Streams & Akka HTTP for Large-Scale Production Deployments
http://paypal.github.io/squbs
Apache License 2.0
1.43k stars 237 forks source link

Standardized Java Duration and their conversions (fixes #694). #714

Closed akara closed 5 years ago

akara commented 5 years ago

Merging all work from #706 as well as standardized the time conversion, especially from Java to Scala to retain the coarsest possible unit. For instance, a time of Duration.ofSeconds(120) will end up as 2 minutes in the FiniteDuration.

Thanks for your pull request. Please review the following guidelines.

akara commented 5 years ago

Closing this to prevent overriding #706. Rest of the fixes are in #716.