Browse Source

Fix the bug that parameters are not carried when exiting entries in SentinelReactorSubscriber

master
Eric Zhao GitHub 5 years ago
parent
commit
0508c92665
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      sentinel-adapter/sentinel-reactor-adapter/src/main/java/com/alibaba/csp/sentinel/adapter/reactor/SentinelReactorSubscriber.java

+ 1
- 1
sentinel-adapter/sentinel-reactor-adapter/src/main/java/com/alibaba/csp/sentinel/adapter/reactor/SentinelReactorSubscriber.java View File

@@ -160,7 +160,7 @@ public class SentinelReactorSubscriber<T> extends InheritableBaseSubscriber<T> {

private boolean tryCompleteEntry() {
if (currentEntry != null && entryExited.compareAndSet(false, true)) {
currentEntry.exit();
currentEntry.exit(1, entryConfig.getArgs());
return true;
}
return false;


Loading…
Cancel
Save