You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
However, in practice what I am seeing is that an exception is thrown (rather than logging an error, not caching the entry, and ideally still returning the data that was to be cached).
Expected Behavior
If the payload exceeds configured limits, log an error, do not cache, and return the payload (per the docs).
Steps To Reproduce
Attempt to cache more than 1MB of data using HybridCache.
Is there an existing issue for this?
Describe the bug
The documentation for HybridCache's
MaximumPayloadBytes
option indicates:This can be seen in the XML comments and here.
However, in practice what I am seeing is that an exception is thrown (rather than logging an error, not caching the entry, and ideally still returning the data that was to be cached).
Expected Behavior
If the payload exceeds configured limits, log an error, do not cache, and return the payload (per the docs).
Steps To Reproduce
Attempt to cache more than 1MB of data using HybridCache.
Exceptions (if any)
.NET Version
9.0.100-rc.1.24452.12
Anything else?
No response
The text was updated successfully, but these errors were encountered: