()
return CONFIG['Advanced']['APIPollingRate'] / UPDATES_PER_SECOND + 1
Calculate the correct timeout so it doesn't crash if using a higher polling rate.
Calculate the correct timeout so it doesn't crash if using a higher polling rate.
Calculate the correct timeout so it doesn t crash if using a higher polling rate .
def calculate_api_timeout():
    """Calculate the correct timeout so it doesn't crash if using a higher polling rate."""
    return CONFIG['Advanced']['APIPollingRate'] / UPDATES_PER_SECOND + 1
def calculate_api_timeout ( ) : return CONFIG [ 'Advanced' ] [ 'APIPollingRate' ] / UPDATES_PER_SECOND + 1