Skip to content

Commit

Permalink
Merge pull request Netflix#222 from mattnelson/daemon_threads
Browse files Browse the repository at this point in the history
Use daemon threads for filter pollers
  • Loading branch information
kerumai committed Jun 5, 2016
2 parents bfe7e19 + af12f5b commit c4af3a0
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 c4af3a0

Please sign in to comment.