Disable parallel execution

This commit is contained in:
Andrea Cavalli 2021-01-24 23:24:22 +01:00
parent ab70ca31ef
commit c18530b7be

View File

@ -58,10 +58,7 @@ public class AsyncTdEasy {
private final Logger logger;
private static final Scheduler scheduler = Schedulers.newParallel("AsyncTdEasy",
Runtime.getRuntime().availableProcessors(),
false
);
private static final Scheduler scheduler = Schedulers.newSingle("AsyncTdEasy");
private final Many<AuthorizationState> authState = Sinks.many().replay().latest();
private final Many<Boolean> requestedDefinitiveExit = Sinks.many().replay().latestOrDefault(false);
private final Many<TdEasySettings> settings = Sinks.many().replay().latest();