reschke commented on code in PR #191:
URL: 
https://github.com/apache/sling-org-apache-sling-resourceresolver/pull/191#discussion_r2282310993


##########
src/main/java/org/apache/sling/resourceresolver/impl/mapping/AliasHandler.java:
##########
@@ -129,7 +129,13 @@ protected void initializeAliases() {
             // optimization made in SLING-2521
             if (this.factory.isOptimizeAliasResolutionEnabled()) {
                 AliasInitializer ai = new AliasInitializer();
-                ai.run();
+                if (this.factory.isAliasCacheInitInBackground()) {
+                    this.log.debug("bg init starting");

Review Comment:
   (type is clear from class name)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscr...@sling.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to