Documentation says (version 2.1.0):
| Property |
Default value |
Description |
| spring.modulith.events.staleness.check-interval |
Duration.ofMinutes(1) |
The interval at which the Staleness Monitor runs to mark stale event publications as failed. |
On source code this property has different name (spring.modulith.events.staleness.check-intervall).
See:
|
{ |
|
"name": "spring.modulith.events.staleness.check-intervall", |
|
"type": "java.time.Duration", |
|
"description": "Configures the {@link Duration} to check for stale event publications. Defaults to one minute.", |
|
"sourceType": "org.springframework.modulith.events.config.StalenessProperties" |
|
}, |
|
/** |
|
* Configures the {@link Duration} to check for stale event publications. Defaults to one minute. |
|
*/ |
|
private final Duration checkIntervall; |
|
|
|
@ConstructorBinding |
|
StalenessProperties( |
|
@Nullable Duration published, |
|
@Nullable Duration processing, |
|
@Nullable Duration resubmitted, |
|
@Nullable Duration resubmission, |
|
@Nullable Duration checkIntervall) { |
|
|
|
this.published = published == null ? Duration.ZERO : published; |
|
this.processing = processing == null ? Duration.ZERO : processing; |
|
this.resubmitted = resubmitted == null ? resubmission == null ? Duration.ZERO : resubmission : resubmitted; |
|
this.checkIntervall = checkIntervall == null ? Duration.ofMinutes(1) : checkIntervall; |
|
} |
|
Duration getCheckIntervall() { |
|
return checkIntervall; |
|
} |
Documentation says (version 2.1.0):
On source code this property has different name (
spring.modulith.events.staleness.check-intervall).See:
spring-modulith/spring-modulith-events/spring-modulith-events-core/src/main/resources/META-INF/spring-configuration-metadata.json
Lines 56 to 61 in c75f173
spring-modulith/spring-modulith-events/spring-modulith-events-core/src/main/java/org/springframework/modulith/events/config/StalenessProperties.java
Lines 57 to 74 in c4f6d51
spring-modulith/spring-modulith-events/spring-modulith-events-core/src/main/java/org/springframework/modulith/events/config/StalenessProperties.java
Lines 83 to 85 in c4f6d51