• Brian Clozel's avatar
    Use Reactor's new Schedulers.boundedElastic() · ce2c26e9
    Brian Clozel authored
    Prior to this commit, Spring Boot would use `Schedulers.elastic()` when
    required to process blocking tasks in a reactive environment.
    reactor/reactor-core#1804 introduced a new scheduler,
    `Schedulers.boundedElastic()` that behaves quite similarly but:
    
    * will limit the number of workers thread
    * will queue tasks if no worker thread is available and reject them is
    the queue is exceeds a limit
    
    This allows Spring Boot to schedule blocking tasks as before and allows
    greater flexibility.
    
    Fixes gh-18269
    See gh-18276
    ce2c26e9
Name
Last commit
Last update
..
src/main/xslt Loading commit data...
pom.xml Loading commit data...