https://github.com/FidelLimited/serverless-plugin-warmup invokes the lambda with the request event {'source': 'serverless-plugin-warmup'}. This PR adds a decorator to intercept these messages and immediately return a 204 No Content response rather than processing and failing.
204 is used mainly to distinguish from real success responses.
https://github.com/FidelLimited/serverless-plugin-warmup invokes the lambda with the request event
{'source': 'serverless-plugin-warmup'}
. This PR adds a decorator to intercept these messages and immediately return a204 No Content
response rather than processing and failing.204
is used mainly to distinguish from real success responses.