1
0
mirror of synced 2026-05-22 21:33:16 +00:00

Use Schedulers.boundedElastic()

Fixes gh-7457
This commit is contained in:
Rob Winch
2019-09-19 13:51:06 -05:00
parent cb5c58eeaa
commit ff54eb878a
3 changed files with 7 additions and 6 deletions
@@ -34,7 +34,7 @@ import reactor.core.scheduler.Schedulers;
public class ReactiveAuthenticationManagerAdapter implements ReactiveAuthenticationManager {
private final AuthenticationManager authenticationManager;
private Scheduler scheduler = Schedulers.elastic();
private Scheduler scheduler = Schedulers.boundedElastic();
public ReactiveAuthenticationManagerAdapter(AuthenticationManager authenticationManager) {
Assert.notNull(authenticationManager, "authenticationManager cannot be null");