Skip to content

Commit f15fbfb

Browse files
committed
This has a fix to buffer published events to keep them in order -tweaked method name on review
1 parent 92713a5 commit f15fbfb

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/main/java/graphql/execution/reactive/CompletionStageOrderedSubscriber.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ protected void whenNextFinished(CompletionStage<D> completionStage, D d, Throwab
3333
}
3434
} finally {
3535
boolean empty = inFlightQIsEmpty();
36-
finallyAfterEachPromisesFinishes(empty);
36+
finallyAfterEachPromiseFinishes(empty);
3737
}
3838
}
3939

src/main/java/graphql/execution/reactive/CompletionStageSubscriber.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,11 @@ protected void whenNextFinished(CompletionStage<D> completionStage, D d, Throwab
9696
}
9797
} finally {
9898
boolean empty = removeFromInFlightQAndCheckIfEmpty(completionStage);
99-
finallyAfterEachPromisesFinishes(empty);
99+
finallyAfterEachPromiseFinishes(empty);
100100
}
101101
}
102102

103-
protected void finallyAfterEachPromisesFinishes(boolean isInFlightEmpty) {
103+
protected void finallyAfterEachPromiseFinishes(boolean isInFlightEmpty) {
104104
//
105105
// if the runOnCompleteOrErrorRun runnable is set, the upstream has
106106
// called onComplete() already, but the CFs have not all completed

0 commit comments

Comments
 (0)