From 8c470c634b2aaa4160b9f40d964ebb6af4b00a96 Mon Sep 17 00:00:00 2001 From: Martin Wittlinger Date: Fri, 1 Sep 2023 21:03:44 +0200 Subject: [PATCH] fix(qodana): disable Qodana Mining --- .../martinwitt/laughing_train/mining/MiningStartup.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/github-bot/src/main/java/io/github/martinwitt/laughing_train/mining/MiningStartup.java b/github-bot/src/main/java/io/github/martinwitt/laughing_train/mining/MiningStartup.java index 459a1ee51..a3db3ccb6 100644 --- a/github-bot/src/main/java/io/github/martinwitt/laughing_train/mining/MiningStartup.java +++ b/github-bot/src/main/java/io/github/martinwitt/laughing_train/mining/MiningStartup.java @@ -38,7 +38,7 @@ public MiningStartup( void startup(@Observes StartupEvent event) { DeploymentOptions options = new DeploymentOptions().setWorker(true); Future.join( - vertx.deployVerticle(qodanaPeriodicMiner, options), + // vertx.deployVerticle(qodanaPeriodicMiner, options), vertx.deployVerticle(spoonPeriodicMiner, options), vertx.deployVerticle(persistence, options), vertx.deployVerticle(projectSupplier, options)) @@ -52,8 +52,8 @@ void startup(@Observes StartupEvent event) { } private void startMining() { - vertx.setTimer(TimeUnit.MINUTES.toMillis(3), v -> vertx.eventBus() - .publish("miner", new MineNextProject(QodanaPeriodicMiner.ANALYZER_NAME))); + // vertx.setTimer(TimeUnit.MINUTES.toMillis(3), v -> vertx.eventBus() + // .publish("miner", new MineNextProject(QodanaPeriodicMiner.ANALYZER_NAME))); vertx.setTimer(TimeUnit.MINUTES.toMillis(2), v -> vertx.eventBus() .publish("miner", new MineNextProject(SpoonPeriodicMiner.ANALYZER_NAME))); }