Introduce duration options for Netty shutdown periods

Description

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:

Environment

None

Pull Requests

None

Assignee

Unassigned

Reporter

Olivier Michallat

Labels

None

PM Priority

None

Affects versions

None

Fix versions

None

Pull Request

None

Doc Impact

None

Size

None

External issue ID

None

External issue ID

None

Sprint

Priority

Trivial
Configure