Skip to content
This repository has been archived by the owner on Mar 4, 2021. It is now read-only.

Commit

Permalink
Merge pull request #284 from robzienert/sleep-elb-janitor
Browse files Browse the repository at this point in the history
Sleep ELB janitor after each cleanup
  • Loading branch information
robzienert committed Nov 18, 2016
2 parents de83213 + 4444852 commit 107bf20
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,11 @@ protected void cleanup(Resource resource) {

@Override
protected void postCleanup(Resource resource) {
try {
Thread.sleep(5000);
} catch (InterruptedException e) {
LOGGER.warn("Post-cleanup sleep was interrupted", e);
}
}

}

0 comments on commit 107bf20

Please sign in to comment.