We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7cf6ba5 + aedf900 commit 2ab80ddCopy full SHA for 2ab80dd
cloudfoundry-client-reactor/src/main/java/org/cloudfoundry/reactor/uaa/UsernameProvider.java
@@ -50,8 +50,8 @@ final class UsernameProvider {
50
51
Mono<String> get() {
52
return getToken(this.connectionContext, this.tokenProvider)
53
+ .publishOn(Schedulers.elastic())
54
.map(this::getUsername)
- .subscribeOn(Schedulers.elastic())
55
.retryWhen(Retry.max(1).filter(ExpiredJwtException.class::isInstance)
56
.doAfterRetry(r -> this.tokenProvider.invalidate(this.connectionContext)));
57
}
0 commit comments