Skip to content

Commit

Permalink
Merge pull request #623 from Netcentric/feature/622-make-startup-hook…
Browse files Browse the repository at this point in the history
…-async-by-default-for-mutable-content

#622 Make startup hook async by default for mutable content
  • Loading branch information
ghenzler authored Jan 17, 2022
2 parents cec8d52 + b9b01d2 commit 5b50279
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 5b50279

Please sign in to comment.