mirror of
https://github.com/signalapp/Signal-Server
synced 2026-09-03 00:30:16 +01:00
Check outstanding demand on internal trigger in FoundationDb publisher
This commit is contained in:
+1
-1
@@ -236,7 +236,7 @@ class FoundationDbMessagePublisher {
|
||||
emitMessages();
|
||||
}
|
||||
case INTERNAL_TRIGGER -> {
|
||||
if (emitter.requestedFromDownstream() > 0) {
|
||||
if (getOutstandingDemand() > 0) {
|
||||
setState(State.FETCHING_MESSAGES, event);
|
||||
emitMessages();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user