Skip to content

Commit

Permalink
ARTEMIS-1462 Fixing QueueControlTest
Browse files Browse the repository at this point in the history
  • Loading branch information
clebertsuconic committed Oct 18, 2017
1 parent f92cf15 commit 1a8887a
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,9 @@ public synchronized boolean isStarted() {
// this will restart the scheduled component upon changes
private void restartIfNeeded() {
if (isStarted()) {
// it has already been through an initial delay,
// now we just use the next interval
this.initialDelay = period;
stop();
start();
}
Expand Down

0 comments on commit 1a8887a

Please sign in to comment.