mirror of
https://github.com/BotChain-Robots/rpc.git
synced 2026-07-08 17:07:21 +02:00
macOS connection quality fixes
This commit is contained in:
@@ -40,9 +40,9 @@ int MessagingInterface::send(uint8_t *buffer, const size_t size, const uint8_t d
|
||||
}
|
||||
|
||||
Flatbuffers::MPIMessageBuilder builder;
|
||||
const auto [mpi_buffer, mpi_size] = builder.build_mpi_message(
|
||||
Messaging::MessageType_PTP, PC_MODULE_ID, destination, 0, durable, tag,
|
||||
std::vector<uint8_t>(buffer, buffer + size));
|
||||
const auto [mpi_buffer, mpi_size] =
|
||||
builder.build_mpi_message(Messaging::MessageType_PTP, PC_MODULE_ID, destination, 0, durable,
|
||||
tag, std::vector<uint8_t>(buffer, buffer + size));
|
||||
|
||||
std::shared_lock lock(m_client_mutex);
|
||||
if (durable) {
|
||||
|
||||
Reference in New Issue
Block a user