From b9b01d29350351b62b71d7a708dd8b95a1789271 Mon Sep 17 00:00:00 2001 From: "georg.henzler" Date: Fri, 14 Jan 2022 17:52:58 +0100 Subject: [PATCH] #622 Make startup hook async by default for mutable content --- .../actool/startuphook/impl/AcToolStartupHookServiceImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/accesscontroltool-startuphook-bundle/src/main/java/biz/netcentric/cq/tools/actool/startuphook/impl/AcToolStartupHookServiceImpl.java b/accesscontroltool-startuphook-bundle/src/main/java/biz/netcentric/cq/tools/actool/startuphook/impl/AcToolStartupHookServiceImpl.java index 7619ffb8..aeeb142c 100644 --- a/accesscontroltool-startuphook-bundle/src/main/java/biz/netcentric/cq/tools/actool/startuphook/impl/AcToolStartupHookServiceImpl.java +++ b/accesscontroltool-startuphook-bundle/src/main/java/biz/netcentric/cq/tools/actool/startuphook/impl/AcToolStartupHookServiceImpl.java @@ -52,8 +52,8 @@ public enum StartupHookActivation { @AttributeDefinition(name = "Activation Mode", description = "Apply on startup - CLOUD_ONLY autodetects the cloud (by missing OSGi installer bundle) and only runs on startup if deployed in the cloud. ALWAYS can be useful for local testing. NEVER disables AC Tool runs on startup entirely.") StartupHookActivation activationMode() default StartupHookActivation.CLOUD_ONLY; - @AttributeDefinition(name = "Async for Mutable Content", description = "Will execute on the mutable content asynchronously using a Sling Job") - boolean runAsyncForMutableConent() default false; + @AttributeDefinition(name = "Async for Mutable Content", description = "Will execute on the mutable content asynchronously") + boolean runAsyncForMutableConent() default true; } @Reference(policyOption = ReferencePolicyOption.GREEDY)