Changing from being the number of seconds to a time.Duration. For backward compatibility, the configuration with the number of seconds is still accepted but an error message is printed asking the user to convert to duration. Resolves #487