Skip to content

Conversation

@nebhale
Copy link
Contributor

@nebhale nebhale commented Sep 15, 2020

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.

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 <[email protected]>
@nebhale nebhale requested a review from twoseat September 15, 2020 16:59
@nebhale nebhale changed the base branch from main to 3.x September 15, 2020 16:59
@twoseat twoseat added this to the 3.27.0.RELEASE milestone Sep 16, 2020
@twoseat twoseat self-assigned this Sep 16, 2020
@twoseat twoseat merged commit aedf900 into 3.x Sep 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants