abh1sar commented on code in PR #11782:
URL: https://github.com/apache/cloudstack/pull/11782#discussion_r2404869461
##########
engine/components-api/src/main/java/com/cloud/template/TemplateManager.java:
##########
@@ -56,6 +56,13 @@ public interface TemplateManager {
+ "will validate if the provided URL is resolvable during the
register of templates/ISOs before persisting them in the database.",
true);
+ ConfigKey<Boolean> TemplateDeleteFromPrimaryStorage = new
ConfigKey<Boolean>("Advanced",
Review Comment:
@harikrishna-patnala I added it as a failsafe or in case someone doesn't
care about how faster the space is reclaimed, but doesn't want to risk any kind
of data loss. Also in case someone wants to use the setting
`storage.template.cleanup.enabled=false` or `storage.cleanup.enabled=false`
where the deleted template is never cleaned up.
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]