diff options
author | Andrey Kleshchev <117672381+akleshchev@users.noreply.github.com> | 2025-02-27 20:51:04 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-27 20:51:04 +0200 |
commit | 2f362aa1261129014bc0e10c8604be9af8540658 (patch) | |
tree | 92917183ce9c88e6ed38220514fb5a826fdebb6b /indra/llmessage/net.cpp | |
parent | ecac92c60c1ca92aae0bb940c8a7952146c99df0 (diff) | |
parent | b52842ee2a328d80834f9a62c1b130ec757b9a03 (diff) |
Merge pull request #3583 'faster avatar loading' into release/2025.03
Diffstat (limited to 'indra/llmessage/net.cpp')
-rw-r--r-- | indra/llmessage/net.cpp | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/indra/llmessage/net.cpp b/indra/llmessage/net.cpp index f153c938cf..2be5a9e5b6 100644 --- a/indra/llmessage/net.cpp +++ b/indra/llmessage/net.cpp @@ -76,14 +76,8 @@ static U32 gsnReceivingIFAddr = INVALID_HOST_IP_ADDRESS; // Address to which dat const char* LOOPBACK_ADDRESS_STRING = "127.0.0.1"; const char* BROADCAST_ADDRESS_STRING = "255.255.255.255"; -#if LL_DARWIN - // macOS returns an error when trying to set these to 400000. Smaller values succeed. - const int SEND_BUFFER_SIZE = 200000; - const int RECEIVE_BUFFER_SIZE = 200000; -#else // LL_DARWIN - const int SEND_BUFFER_SIZE = 400000; - const int RECEIVE_BUFFER_SIZE = 400000; -#endif // LL_DARWIN +const int SEND_BUFFER_SIZE = 200000; +const int RECEIVE_BUFFER_SIZE = 800000; // universal functions (cross-platform) |