docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Property MaxSendQueueSize

    MaxSendQueueSize

    The maximum size in bytes of the transport send queue.

    Declaration
    public int MaxSendQueueSize { get; set; }
    Property Value
    Type Description
    int
    Remarks

    The send queue accumulates messages for batching and stores messages when other internal send queues are full. Note that there should not be any need to set this value manually since the send queue size is dynamically sized based on need.

    This value should only be set if you have particular requirements (e.g. if you want to limit the memory usage of the send queues). Note however that setting this value too low can easily lead to disconnections under heavy traffic.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)