Skip to content
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

Throttling on a service level is not working #4

Closed
patrickwerz opened this issue Mar 20, 2020 · 4 comments
Closed

Throttling on a service level is not working #4

patrickwerz opened this issue Mar 20, 2020 · 4 comments

Comments

@patrickwerz
Copy link

Hi Diana,
thanks for this plugin. I just deployed my sls project. Unfortunatelly, the throttling on the function level hasn't changed. It is still "Inheriting from stage".
Do you have any idea what the reason could be? I configured my service sls file as you did in the readme.

Thanks again,
Patrick

@DianaIonita
Copy link
Owner

Hi @patrickwerz,

Would you mind sharing the Serverless Framework version you're using and the serverless.yml configuration please?

@patrickwerz
Copy link
Author

patrickwerz commented Mar 22, 2020 via email

@patrickwerz
Copy link
Author

patrickwerz commented Mar 23, 2020

Hi Diana,
I anonymized the sls file. You can see the service level throttling at "provisioningServiceV3" .

Thanks for your help
Patrick

I had to change to file type from yml to txt
service: iot-provisioning-service.txt

@DianaIonita
Copy link
Owner

Hi @patrickwerz,

I tried out a configuration like the one you provided and it seems to work. The throttling settings are correct at stage level and the function with custom settings is shown as overriding throttling settings.

I'm using the latest version of the plugin and the latest version of the Serverless framework, is that what you're using as well?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants