1 write to MaximumPayloadBytes
Microsoft.Extensions.Caching.Hybrid (1)
Internal\DefaultHybridCache.cs (1)
92MaximumPayloadBytes = checked((int)_options.MaximumPayloadBytes); // for now hard-limit to 2GiB
4 references to MaximumPayloadBytes
Microsoft.Extensions.Caching.Hybrid (4)
Internal\DefaultHybridCache.L2.cs (3)
37RecyclableArrayBufferWriter<byte> writer = RecyclableArrayBufferWriter<byte>.Create(MaximumPayloadBytes); 125if (payload.Length > MaximumPayloadBytes) 141throw new InvalidOperationException($"Maximum cache length ({MaximumPayloadBytes} bytes) exceeded");
Internal\DefaultHybridCache.StampedeState.cs (1)
77protected int MaximumPayloadBytes => _cache.MaximumPayloadBytes;