Skip to content

Commit

Permalink
Revert "SLING-12636: Resource Resolver: add test coverage for backgro…
Browse files Browse the repository at this point in the history
…und init"

This reverts commit 9570684.
  • Loading branch information
reschke committed Jan 24, 2025
1 parent 9570684 commit 0645b9f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@
import java.util.Set;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicBoolean;
import java.util.concurrent.atomic.AtomicLong;

Expand Down Expand Up @@ -173,8 +172,9 @@ private AtomicBoolean getVanityPathsProcessed() {
private void waitForBgInit() {
while (!getVanityPathsProcessed().get()) {
try {
TimeUnit.MILLISECONDS.sleep(20);
} catch (InterruptedException ignored) {
Thread.sleep(10);
} catch (InterruptedException e) {
// ignored
}
}
}
Expand Down

0 comments on commit 0645b9f

Please sign in to comment.