In the Netty shutdown configuration, the unit is expressed in a separate option:
This is at odds with other durations, which use a single option:
This is not hugely important, but it would be nice to be consistent. We could fix this in a non-breaking way by introducing new options:
Remove the old options from reference.conf. But if they are still defined in the user's application.conf, they take precedence, and we also log a warning indicating that the new options should be used instead. This way we don't break applications that had defined custom values.
If only the new options are present, convert everything to nanoseconds: