Skip to content

Commit

Permalink
metric fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ErykKul committed Mar 25, 2024
1 parent 7f7fd89 commit 053ebdb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ private void doAyncIndexDataset(Dataset dataset, boolean doNormalSolrDocCleanUp)
public void asyncIndexDatasetList(List<Dataset> datasets, boolean doNormalSolrDocCleanUp) {
for(Dataset dataset : datasets) {
try {
ASYNC_INDEX_SEMAPHORE.acquire();
acquirePermitFromSemaphore();
doAyncIndexDataset(dataset, true);
} catch (InterruptedException e) {
String failureLogText = "Indexing failed: interrupted. You can kickoff a re-index of this dataset with: \r\n curl http://localhost:8080/api/admin/index/datasets/" + dataset.getId().toString();
Expand Down

0 comments on commit 053ebdb

Please sign in to comment.