Skip to content

Commit 8fd4ed8

Browse files
GaOrtigaGabriel Ortiga Fernandes
andauthored
delete configuration task.cleanup.retry.interval (#6910)
* fix range of configuration `task.cleanup.retry.interval` * delete unused configuration * fix on sql * add name of the PR to the sql Co-authored-by: Gabriel Ortiga Fernandes <gabriel.fernandes@scclouds.com.br>
1 parent f7f03ad commit 8fd4ed8

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

engine/schema/src/main/resources/META-INF/db/schema-41720to41800.sql

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -865,3 +865,6 @@ SET usage_unit = 'Policy*Month'
865865
WHERE usage_unit = 'Policy-Month';
866866

867867
----- PR Quota custom tariffs #5909 -----
868+
869+
-- delete configuration task.cleanup.retry.interval #6910
870+
DELETE FROM `cloud`.`configuration` WHERE name='task.cleanup.retry.interval';

server/src/main/java/com/cloud/configuration/Config.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1263,15 +1263,6 @@ public enum Config {
12631263

12641264
DefaultPageSize("Advanced", ManagementServer.class, Long.class, "default.page.size", "500", "Default page size for API list* commands", null),
12651265

1266-
TaskCleanupRetryInterval(
1267-
"Advanced",
1268-
ManagementServer.class,
1269-
Integer.class,
1270-
"task.cleanup.retry.interval",
1271-
"600",
1272-
"Time (in seconds) to wait before retrying cleanup of tasks if the cleanup failed previously. 0 means to never retry.",
1273-
"Seconds"),
1274-
12751266
// Account Default Limits
12761267
DefaultMaxAccountUserVms(
12771268
"Account Defaults",

0 commit comments

Comments
 (0)