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

Commit

Permalink
Sleep ELB janitor after each cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
robzienert committed Nov 18, 2016
1 parent de83213 commit 4444852
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 4444852

Please sign in to comment.