-
Notifications
You must be signed in to change notification settings - Fork 35
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
clusterSize is ignored. #61
Comments
Hi @angelcervera, You can set the custom:
apiGatewayCaching:
enabled: true
clusterSize: '13.5' You can't define it for each function, because there's only one cache cluster for all functions associated with this Rest API. |
I'll check it tomorrow. Pretty sure this is the reason. In that case, I will update the documentation and I will create a PR. ok? |
I think the documentation is accurate, but I'm curious how you'd like to improve it. Feel free to raise a PR, if you wish. |
The proposal in the PR. #62 |
This is the config that I'm using:
As result, the cache is enable correctly but the cache capacity is 0.5 instead 13.5
https://stackoverflow.com/questions/58137023/serverless-api-gateway-caching-plugin-is-not-setting-the-cache-size
The text was updated successfully, but these errors were encountered: