public RetryPolicyFactory getConnectionRetryPolicy() {
        if (getMaxRetryAttempts() == 0) {
            return RunOnce::new;
        } else {
            return () -> new RetryNTimes(maxRetryAttempts, false);
        }
    }
The time to live in seconds for which the event execution will be persisted
redis-persistence/src/main/java/com/netflix/conductor/redis/config/RedisProperties.java