Fix repeat
This commit is contained in:
@@ -151,7 +151,7 @@ public class VelocityScheduler implements Scheduler {
|
|||||||
|
|
||||||
if (repeat > 0) {
|
if (repeat > 0) {
|
||||||
try {
|
try {
|
||||||
sleeper.sleep(delay);
|
sleeper.sleep(repeat);
|
||||||
} catch (InterruptedException e) {
|
} catch (InterruptedException e) {
|
||||||
if (status == TaskStatus.CANCELLED) {
|
if (status == TaskStatus.CANCELLED) {
|
||||||
break;
|
break;
|
||||||
|
Reference in New Issue
Block a user