mirror of
https://github.com/bisq-network/bisq.git
synced 2025-01-19 05:44:05 +01:00
871656b18d
Before SynchronizedProtoOutputStream created a new thread and made a blocking call to ProtoOutputStream.writeEnvelope(...). Each connection had an instance of SynchronizedProtoOutputStream, so we had a redundant thread per connection. This change makes ProtoBufOutputStream thread-safe and reduces the number of thread per connection as a side effect. |
||
---|---|---|
.. | ||
src |