Skip to content
This repository has been archived by the owner on Nov 24, 2024. It is now read-only.

Commit

Permalink
Fixed for a future
Browse files Browse the repository at this point in the history
  • Loading branch information
dkaukov committed Jan 9, 2020
1 parent 36801d2 commit a341c41
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
Expand Down Expand Up @@ -60,7 +61,7 @@ WebClient webClient() {
* reactive operations from different requests are scheduled on threads that were previously used by another
* request.
*/
@Bean
@Bean("parallelScheduler")
Scheduler getScheduler() {
return Schedulers.newParallel("parallel-scheduler", 3);
}
Expand All @@ -75,6 +76,7 @@ public static class MyResource {
private WebClient webClient;

@Autowired
@Qualifier("parallelScheduler")
private Scheduler parallelScheduler;

@RequestMapping("test")
Expand Down

4 comments on commit a341c41

@opentable-devops
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TeamCity Architecture Team / Java TC Platform / otj-server / PR Build Build ???.110/merge.23 is now running

@opentable-devops
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TeamCity Architecture Team / Java TC Platform / otj-server / PR Build Build 3.0.20-SNAPSHOT.110/merge.23 outcome was SUCCESS
Summary: Tests passed: 85, ignored: 2 Build time: 00:07:56

@opentable-devops
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TeamCity Architecture Team / Java TC Platform / otj-server / PR Build Build ???.110/merge.25 is now running

@opentable-devops
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TeamCity Architecture Team / Java TC Platform / otj-server / PR Build Build 3.0.21-SNAPSHOT.110/merge.25 outcome was SUCCESS
Summary: Tests passed: 85, ignored: 2 Build time: 00:05:59

Please sign in to comment.