This repository was archived by the owner on Sep 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Code uses WebClient but blocks #22
Copy link
Copy link
Open
Description
The code uses the reactive WebClient but ends up calling #block() which, as the name suggests, blocks and therefore defeats the whole purpose of using WebClient in the first place. Examples:
The code should instead do one of the following:
- Avoid calling
#block()and instead call#subscribe() - Switch from the reactive
WebClientto the blockingRestTemplate
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels