Skip to content

Commit

Permalink
Use deamon thread for Schedulers.newParallel
Browse files Browse the repository at this point in the history
  • Loading branch information
rwinch committed Sep 30, 2019
1 parent 1bf0e70 commit b29106e
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -55,7 +55,7 @@ public abstract class AbstractUserDetailsReactiveAuthenticationManager implement

private ReactiveUserDetailsPasswordService userDetailsPasswordService;

private Scheduler scheduler = Schedulers.newParallel("password-encoder");
private Scheduler scheduler = Schedulers.newParallel("password-encoder", Schedulers.DEFAULT_POOL_SIZE, true);

private UserDetailsChecker preAuthenticationChecks = user -> {
if (!user.isAccountNonLocked()) {
Expand Down

0 comments on commit b29106e

Please sign in to comment.