service: chrome-on-lambda

provider:
  name: aws
  runtime: nodejs6.10
  profile: intercom-dev

plugins:
  - serverless-webpack

custom:
  webpackIncludeModules: false

functions:
  run:
    handler: src/remote/handler.run
    memorySize: 1536
    timeout: 60
service: chrome-on-lambda

provider:
  name: aws
  runtime: nodejs6.10
  profile: intercom-dev

plugins:
  - serverless-webpack

custom:
  webpackIncludeModules: false

functions:
  run:
    handler: src/remote/handler.run
    memorySize: 1536
    timeout: 300
Set timeout for chrome function to max value (300s)
Set timeout for chrome function to max value (300s)

Since we started handling timeouts for tests loading/running, it is safe
to increase top level function timeout to the max allowed value.
