Last active
December 26, 2018 07:37
-
-
Save pgilad/db91b4e94b7e8cc34f732d2580c46a43 to your computer and use it in GitHub Desktop.
An example of a pre-set scheduler for paralleling reactive work
This file contains hidden or 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
public static final Scheduler scheduler = Schedulers.fromExecutorService(new ThreadPoolExecutor(4, 10, 60, TimeUnit.SECONDS, new LinkedBlockingQueue<Runnable>())) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment