Skip to content

Commit

Permalink
#296 fix thread pool reject problem
Browse files Browse the repository at this point in the history
  • Loading branch information
heziai committed Dec 11, 2017
1 parent 5d45af9 commit d5f6085
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,9 @@ class NecessaryWatcher implements CuratorWatcher {

@Override
public void process(WatchedEvent event) throws Exception {
if (isShutdown) {
return;
}
switch (event.getType()) {
case NodeCreated:
case NodeDataChanged: // NOSONAR
Expand Down

0 comments on commit d5f6085

Please sign in to comment.