mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-01 05:46:47 +00:00
Check outstanding demand on internal trigger in FoundationDb publisher
This commit is contained in:
1 parent
1366fbba8a
commit
c7bcaac310
1 file changed
+1
-1
+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