diff --git a/core/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/core/src/main/resources/META-INF/additional-spring-configuration-metadata.json index 9f0be229..1d679d7b 100644 --- a/core/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/core/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -20,16 +20,21 @@ "type": "java.lang.Integer", "description": "The interval at which the system checks for abandoned tasks, in seconds. Defaults to every 5 minutes." }, - { - "name": "spring.persistent-tasks.history.delete-after", - "type": "java.lang.Duration", - "description": "The interval at which old triggers are deleted, in seconds. Defaults to every 72 hours." - }, { "name": "spring.persistent-tasks.scheduler-enabled", "type": "java.lang.Boolean", "description": "Indicates whether this node should handle triggers.", "defaultValue": true + }, + { + "name": "spring.persistent-tasks.history.delete-rate", + "type": "java.lang.Integer", + "description": "The interval at which old triggers are deleted, in hours. Default 24h." + }, + { + "name": "spring.persistent-tasks.history.delete-after", + "type": "java.lang.Duration", + "description": "The max age for a trigger in the hstory. Default is PT72H, 30 days." } ] } \ No newline at end of file