namespace NATS.Server.JetStream.Api;

/// <summary>
/// JetStream API size and queue limits aligned with Go server constants.
/// Go reference: server/jetstream_api.go (JSMaxDescriptionLen, JSMaxMetadataLen,
/// JSMaxNameLen, JSDefaultRequestQueueLimit).
/// </summary>
public static class JetStreamApiLimits
{
    public const int JSMaxDescriptionLen = 4_096;
    public const int JSMaxMetadataLen = 128 * 1024;
    public const int JSMaxNameLen = 255;
    public const int JSDefaultRequestQueueLimit = 10_000;
}
