-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Too much data for declared Content-Length" error when activating caching #70
Comments
+1 |
@jaeger-2601
|
+1 |
@LittleRookie1706 This project seems to be abandoned by the maintainer. I suggest moving to fastapi-cache or you can apply @jaepetto's patch. |
Thanks @jaeger-2601 for the tip about fastapi-cache. I'll probably move to it too. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The same exact code is raising exceptions when using the
@cache
decorator:This code raises the exception: "Too much data for declared Content-Length"
The same code runs well when I remove the
@cache
decorator (no surprise here), but also works well when the redis server is unavailable (forcing the caching mechanism to evaluate the code).Thanks in advance for any insight...
The stack trace is as below:
The text was updated successfully, but these errors were encountered: