def max_rt(value: str) ->int:
    """
    Convert the name of the section to the number of seconds, and validate the range

    :param value: Config section name
    :return: Number of seconds
    """
    seconds = int(value)
    if not 60 <= seconds <= 86400:
        raise ValueError('MAX_RT must be between 60 and 86400 seconds')
    return seconds
