mirror of
https://github.com/signalapp/Signal-Server.git
synced 2026-12-01 13:26:47 +00:00
Dispose of the mirrored FoundationDB stream when the Redis/DynamoDB stream terminates for any reason
This commit is contained in:
1 parent
cb28614721
commit
375150a8c3
1 file changed
+1
-1
+1
-1
@@ -114,7 +114,7 @@ public class AcknowledgementMirroringMessageStream implements MessageStream {
|
||||
JdkFlowAdapter.flowPublisherToFlux(redisDynamoDbMessageStream.getMessages())
|
||||
// Mirror demand and termination signals to the FoundationDB message stream
|
||||
.doOnNext(subscriber::handleRedisDynamoDbMessageStreamEntry)
|
||||
.doOnComplete(subscriber::dispose));
|
||||
.doFinally(_ -> subscriber.dispose()));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user