We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a73265 commit ce3726bCopy full SHA for ce3726b
README.md
@@ -93,7 +93,9 @@ public void scheduledTask() {
93
```
94
By setting `lockAtMostFor` we make sure that the lock is released even if the node dies and by setting `lockAtLeastFor`
95
we make sure it's not executed more than once in fifteen minutes.
96
-Please note that if the task takes longer than 15 minutes, it will be executed again.
+Please note that **`lockAtMostFor` is just a safety net for a case that the node executing the task dies, please set it to
97
+a time that is significantly larger than maximum estimated execution time.** If the task takes longer than `lockAtMostFor`,
98
+it will be executed again.
99
100
101
### Configure the task scheduler
0 commit comments