private boolean deployedRecently(ApplicationId application) {
        Instant now = nodeRepository().clock().instant();
        return deployer.activationTime(application)
                       .map(lastActivatedTime -> lastActivatedTime.isAfter(now.minus(waitTimeAfterPreviousDeployment)))
                       // We only know last activated time for applications that were deployed on this config server,
                       // the rest will be deployed on another config server
                       .orElse(true);
    }
Returns the best move of given moves
node-repository/src/main/java/com/yahoo/vespa/hosted/provision/maintenance/NodeMover.java