sureshanaparti commented on code in PR #8843:
URL: https://github.com/apache/cloudstack/pull/8843#discussion_r1650115152
##########
plugins/storage/volume/storpool/src/main/java/org/apache/cloudstack/storage/snapshot/StorPoolConfigurationManager.java:
##########
@@ -44,13 +44,23 @@ public class StorPoolConfigurationManager implements
Configurable {
"The interval in seconds to get StorPool template statistics",
false);
+ public static final ConfigKey<Integer> DeleteAfterInterval = new
ConfigKey<>("Advanced", Integer.class,
+ "storpool.delete.after.interval", "0",
+ "The interval (in seconds) after the StorPool snapshot will be
deleted",
+ false);
+
+ public static final ConfigKey<Integer>
ListSnapshotsWithDeleteAfterInterval = new ConfigKey<>("Advanced",
Integer.class,
+ "storpool.list.snapshots.delete.after.interval", "360",
+ "The interval (in seconds) to fetch the StorPool snapshots with
deleteAfter flag",
+ false);
Review Comment:
can keep these configs with StoragePool scope, so that these can be changed
for other storpool storage if needed.
--
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]