private void prune(List<ScalingEvent> scalingEvents) {
        while (scalingEvents.size() > maxScalingEvents)
            scalingEvents.remove(0);
    }
Add or update (based on "at" time) a scaling event
node-repository/src/main/java/com/yahoo/vespa/hosted/provision/applications/Cluster.java