Skip to content

Commit 8d0634b

Browse files
committed
feat: custom lock duration for worker
1 parent 985105f commit 8d0634b

File tree

1 file changed

+1
-1
lines changed
  • spring-boot-starter/src/main/kotlin/dev/bpmcrafters/processengine/worker/registrar

1 file changed

+1
-1
lines changed

spring-boot-starter/src/main/kotlin/dev/bpmcrafters/processengine/worker/registrar/ReflectionUtils.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ fun Method.getCompletion(): Completion {
165165
/**
166166
* Returns the lock duration from annotation, or null if not set.
167167
* @return lock duration in seconds, or null if the default should be used.
168-
* @since 0.7.3
168+
* @since 0.9.0
169169
*/
170170
fun Method.getLockDuration(): Long? {
171171
val lockDuration = this.getAnnotation(ProcessEngineWorker::class.java).lockDuration

0 commit comments

Comments
 (0)