-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
oncrpcsvc: do not use FixedThreadPool from grizzly
Motivation: The FixedThreadPool from grizzly has a bad habit not to start a new thread when one of threads from the pool have died due to RuntimeException or Error. As a result, we may observe thread starvation or even full service unavailability. Modification: use Executors#newFixedThreadPool which will take care of dead threads and start new one if required. Result: In situations, where worker thread die due to code issues new threads are started. Fixes: #68 Acked-by: Albert Rossi Target: master, 3.0
- Loading branch information
Showing
3 changed files
with
24 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters