Skip to content

Commit

Permalink
Use daemon threads for filter pollers
Browse files Browse the repository at this point in the history
  • Loading branch information
mattnelson committed May 17, 2016
1 parent 862283f commit af12f5b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ public void run() {
}
}
};
poller.setDaemon(true);
poller.start();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ public static void start(ZuulFilterDAO dao) {
*/
public ZuulFilterPoller(ZuulFilterDAO dao) {
this.dao = dao;
checkerThread.setDaemon(true);
checkerThread.start();

}
Expand Down

0 comments on commit af12f5b

Please sign in to comment.