Skip to content

Commit

Permalink
feat: add flag to disable canary config indexing (#835)
Browse files Browse the repository at this point in the history
  • Loading branch information
fieldju authored Mar 12, 2021
1 parent 5fa05c0 commit c5fb27c
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,15 @@
import com.netflix.kayenta.index.CanaryConfigIndexingAgent;
import com.netflix.kayenta.security.AccountCredentialsRepository;
import com.netflix.kayenta.storage.StorageServiceRepository;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler;
import redis.clients.jedis.JedisPool;

@Configuration
@ConditionalOnProperty(name = "kayenta.index.enabled", havingValue = "true", matchIfMissing = true)
public class IndexConfiguration {

@Bean
Expand Down

0 comments on commit c5fb27c

Please sign in to comment.