Skip to content

Commit

Permalink
Fix timeouts for invocations on the command line. (#558)
Browse files Browse the repository at this point in the history
  • Loading branch information
ttung authored Oct 25, 2017
1 parent 3ac58fd commit c3b4ae1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion chalice/.chalice/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,6 @@
"environment_variables": {
}
}
}
},
"lambda_timeout": 300
}
2 changes: 2 additions & 0 deletions dss-api
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ factory = CLIFactory(project_dir=args.project_dir, debug=args.debug)
config = factory.create_config_obj(
chalice_stage_name=os.environ["DSS_DEPLOYMENT_STAGE"]
)
# TODO: Remove this hack when https://github.com/aws/chalice/pull/579 is pulled into our repo.
config._user_provided_params['lambda_timeout'] = 30000
app_obj = factory.load_chalice_app()
# When running `chalice local`, a stdout logger is configured
# so you'll see the same stdout logging as you would when
Expand Down

0 comments on commit c3b4ae1

Please sign in to comment.