Skip to content

Commit

Permalink
Update SseEmitterController.java (eugenp#4864)
Browse files Browse the repository at this point in the history
  • Loading branch information
pivovarit authored Aug 1, 2018
1 parent 0b642f9 commit f69c265
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

@Controller
public class SseEmitterController {
private ExecutorService nonBlockingService = Executors.newSingleThreadExecutor();
private ExecutorService nonBlockingService = Executors.newCachedThreadPool();

@GetMapping(Constants.API_SSE)
public SseEmitter handleSse() {
Expand All @@ -29,4 +29,4 @@ public SseEmitter handleSse() {
return emitter;
}

}
}

0 comments on commit f69c265

Please sign in to comment.