Skip to content

Commit

Permalink
#622 Make startup hook async by default for mutable content
Browse files Browse the repository at this point in the history
  • Loading branch information
ghenzler committed Jan 14, 2022
1 parent cec8d52 commit b9b01d2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit b9b01d2

Please sign in to comment.