Skip to content

Commit

Permalink
[CI] Auto commit changes from spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
elasticsearchmachine committed Feb 13, 2025
1 parent 9f0ec33 commit 0d58081
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ protected void trackExecutionTime(Runnable r, long taskTime) {
}
}

//TODO Remove these methods once the NodeConstruction#searchLoadMetricsReporter is deleted
// TODO Remove these methods once the NodeConstruction#searchLoadMetricsReporter is deleted
/**
* Gets the map of index execution times.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,6 @@
import org.elasticsearch.common.settings.SettingsModule;
import org.elasticsearch.common.util.BigArrays;
import org.elasticsearch.common.util.PageCacheRecycler;
import org.elasticsearch.common.util.concurrent.TaskExecutionTimeTrackingEsThreadPoolExecutor;
import org.elasticsearch.common.util.concurrent.TaskExecutionTimeTrackingPerIndexEsThreadPoolExecutor;
import org.elasticsearch.common.util.set.Sets;
import org.elasticsearch.core.IOUtils;
Expand Down Expand Up @@ -707,7 +706,7 @@ private void construct(

var executor = (TaskExecutionTimeTrackingPerIndexEsThreadPoolExecutor) threadPool.executor(ThreadPool.Names.SEARCH);
clusterService.addListener(new SearchIndexTimeTrackingCleanupService(executor));
if(logger.isDebugEnabled()) searchLoadMetricsReporter(executor);
if (logger.isDebugEnabled()) searchLoadMetricsReporter(executor);

modules.bindToInstance(DocumentParsingProvider.class, documentParsingProvider);

Expand Down Expand Up @@ -1279,7 +1278,6 @@ public void run() {
}
};


timer.scheduleAtFixedRate(task, 0, 4000);
}

Expand Down

0 comments on commit 0d58081

Please sign in to comment.