Skip to content

Commit 702d72f

Browse files
committed
adjusted config
1 parent ec54580 commit 702d72f

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

core/src/main/resources/META-INF/additional-spring-configuration-metadata.json

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,21 @@
2020
"type": "java.lang.Integer",
2121
"description": "The interval at which the system checks for abandoned tasks, in seconds. Defaults to every 5 minutes."
2222
},
23-
{
24-
"name": "spring.persistent-tasks.history.delete-after",
25-
"type": "java.lang.Duration",
26-
"description": "The interval at which old triggers are deleted, in seconds. Defaults to every 72 hours."
27-
},
2823
{
2924
"name": "spring.persistent-tasks.scheduler-enabled",
3025
"type": "java.lang.Boolean",
3126
"description": "Indicates whether this node should handle triggers.",
3227
"defaultValue": true
28+
},
29+
{
30+
"name": "spring.persistent-tasks.history.delete-rate",
31+
"type": "java.lang.Integer",
32+
"description": "The interval at which old triggers are deleted, in hours. Default 24h."
33+
},
34+
{
35+
"name": "spring.persistent-tasks.history.delete-after",
36+
"type": "java.lang.Duration",
37+
"description": "The max age for a trigger in the hstory. Default is PT72H, 30 days."
3338
}
3439
]
3540
}

0 commit comments

Comments
 (0)