Skip to content

Commit

Permalink
fix(qodana): disable Qodana Mining (#1003)
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinWitt authored Sep 1, 2023
1 parent 05cc2b7 commit 11ad148
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand All @@ -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)));
}
Expand Down

0 comments on commit 11ad148

Please sign in to comment.