booster
booster copied to clipboard
Increase handlers' timeouts via configuration
Description
Right now, all lambda timeouts are set to 1 minute: https://github.com/boostercloud/booster/blob/master/packages/framework-provider-aws-infrastructure/src/infrastructure/params.ts#L24
It would be great to increase this limitation via configuration.
Possible Solution
Add a timeout property in the Booster framework config to edit this limitation. For example:
Booster.configure('development', (config: BoosterConfig): void => {
config.appName = 'my-store'
config.handlersTimeout = 6 // 6 minutes - 1 minute as default if not specified
config.provider = AWS.Provider() // Or through a provider "props" object
})
cc @alvaroloes
Remember that this should be a solution that could be applied to any provider, not only AWS.