Check outstanding demand on internal trigger in FoundationDb publisher

This commit is contained in:
Chris Eager
2026-08-18 11:19:45 -04:00
committed by Chris Eager
parent 1366fbba8a
commit c7bcaac310
@@ -236,7 +236,7 @@ class FoundationDbMessagePublisher {
emitMessages();
}
case INTERNAL_TRIGGER -> {
if (emitter.requestedFromDownstream() > 0) {
if (getOutstandingDemand() > 0) {
setState(State.FETCHING_MESSAGES, event);
emitMessages();
}