Merge pull request #4865 from eugenp/pivovarit-patch-6
Update ResponseBodyEmitterController.java
This commit is contained in:
commit
24ad8b91cf
|
@ -13,7 +13,7 @@ import org.springframework.web.servlet.mvc.method.annotation.ResponseBodyEmitter
|
|||
|
||||
@Controller
|
||||
public class ResponseBodyEmitterController {
|
||||
private ExecutorService nonBlockingService = Executors.newSingleThreadExecutor();
|
||||
private ExecutorService nonBlockingService = Executors.newCachedThreadPool();
|
||||
|
||||
@GetMapping(Constants.API_RBE)
|
||||
public ResponseEntity<ResponseBodyEmitter> handleRbe() {
|
||||
|
|
Loading…
Reference in New Issue