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

Enable Warmup function could be specified outside of the node module. #93

Open
marcfielding1 opened this issue Dec 28, 2018 · 1 comment
Labels

Comments

@marcfielding1
Copy link

As an organisation, I NEED to be able to write my own warmup function
SO THAT I can write more complex business logic and attach other event sources.

I think this would simply be a pointer in the yaml that packages a function external to the serverless-plugin-warmup.

The reason this could be useful is shown in my comment, specifically the bit about SNS sources.

@marcfielding1 marcfielding1 changed the title Enable Warmup function to be specified outside of the node module. Enable Warmup function could be specified outside of the node module. Dec 28, 2018
@juanjoDiaz
Copy link
Owner

Just elaborating a bit on this.

I'd suggest that we configure the warmup lambda like any other lambda: handler, trigger, etc.
And have defaults for those.

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

No branches or pull requests

2 participants