Commit 529cc79
committed
Protect Blocking API
Currently, the UaaSigningKeyResolver must use .block() in order to implement a
blocking interface. Use of this API within a non-blocking thread is illegal
since Reactor 3.2. A .scheduleOn() call, moving the execution to an elastic
scheduler was in place but turned out to be the wrong implementation. This
change updates the protection to a .publishOn() to move it out of a
non-blocking thread at the right time.
Signed-off-by: Ben Hale <bhale@vmware.com>1 parent 4852d52 commit 529cc79
File tree
1 file changed
+1
-1
lines changed- cloudfoundry-client-reactor/src/main/java/org/cloudfoundry/reactor/uaa
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
52 | 53 | | |
53 | | - | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| |||
0 commit comments