Use deamon thread for Schedulers.newParallel

Fixes gh-7492
This commit is contained in:
Rob Winch 2019-09-30 15:18:45 -05:00
parent 1bf0e70bd0
commit b29106ea31
1 changed files with 1 additions and 1 deletions

View File

@ -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()) {