maciejtreder / serverless-apigw-binary

Serverless plugin for binary files support in AWS Gateway
MIT License
160 stars 33 forks source link

Serverless: 'Too many requests' received, sleeping 5 seconds #42

Closed iocentos closed 6 years ago

iocentos commented 6 years ago

Not much of feedback to give you but noticed this message whenever i make use of your plugin.

Serverless: 'Too many requests' received, sleeping 5 seconds
Serverless: 'Too many requests' received, sleeping 5 seconds

If i remove the plugin i do not get the message any more.

maciejtreder commented 6 years ago

This is expected behavior. AWS doesn't allow to perform multiple requests at one time. After setting up an API Gateway, plugin needs to send another request to set up binaryData.