Skip to content

Commit 9040ea6

Browse files
committed
moved the defaults
1 parent 7095314 commit 9040ea6

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -117,14 +117,14 @@ SpringBeanTask<Vehicle> task1(VehicleRepository vehicleRepository) {
117117

118118
### Spring configuration options
119119

120-
| Property | Type | Description | Default Value |
121-
| ---------------------------------------------- | -------------------- | ----------------------------------------------------------------------------------------------------- | ------------- |
122-
| `spring.persistent-tasks.poll-rate` | `java.lang.Integer` | The interval at which the scheduler checks for new tasks, in seconds. | - |
123-
| `spring.persistent-tasks.max-threads` | `java.lang.Integer` | The number of threads to use; default is 10; set to 0 to disable task processing. | `10` |
124-
| `spring.persistent-tasks.task-timeout` | `java.time.Duration` | The maximum time allowed for a task and scheduler to complete a task. Defaults to 5 minutes. | - |
125-
| `spring.persistent-tasks.poll-task-timeout` | `java.lang.Integer` | The interval at which the system checks for abandoned tasks, in seconds. Defaults to every 5 minutes. | - |
126-
| `spring.persistent-tasks.history.delete-after` | `java.lang.Integer` | The interval at which old triggers are deleted, in seconds. Defaults to every 72 hours. | - |
127-
| `spring.persistent-tasks.scheduler-enabled` | `java.lang.Boolean` | Indicates whether this node should handle triggers. | `true` |
120+
| Property | Type | Description | Default Value |
121+
| ---------------------------------------------- | -------------------- | ------------------------------------------------------------------------ | ------------- |
122+
| `spring.persistent-tasks.poll-rate` | `java.lang.Integer` | The interval at which the scheduler checks for new tasks, in seconds. | - |
123+
| `spring.persistent-tasks.max-threads` | `java.lang.Integer` | The number of threads to use; set to 0 to disable task processing. | `10` |
124+
| `spring.persistent-tasks.task-timeout` | `java.time.Duration` | The maximum time allowed for a task and scheduler to complete a task. | `5 minutes` |
125+
| `spring.persistent-tasks.poll-task-timeout` | `java.lang.Integer` | The interval at which the system checks for abandoned tasks, in seconds. | `5 minutes` |
126+
| `spring.persistent-tasks.history.delete-after` | `java.lang.Integer` | The interval at which old triggers are deleted, in seconds. | `72 hours` |
127+
| `spring.persistent-tasks.scheduler-enabled` | `java.lang.Boolean` | Indicates whether this node should handle triggers. | `true` |
128128

129129
# Setup DB with Liquibase
130130

0 commit comments

Comments
 (0)