Skip to content

Commit 2ab80dd

Browse files
committed
Merge branch '3.x' into main
2 parents 7cf6ba5 + aedf900 commit 2ab80dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cloudfoundry-client-reactor/src/main/java/org/cloudfoundry/reactor/uaa/UsernameProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ final class UsernameProvider {
5050

5151
Mono<String> get() {
5252
return getToken(this.connectionContext, this.tokenProvider)
53+
.publishOn(Schedulers.elastic())
5354
.map(this::getUsername)
54-
.subscribeOn(Schedulers.elastic())
5555
.retryWhen(Retry.max(1).filter(ExpiredJwtException.class::isInstance)
5656
.doAfterRetry(r -> this.tokenProvider.invalidate(this.connectionContext)));
5757
}

0 commit comments

Comments
 (0)