Skip to content

Commit

Permalink
Update maximum timeout value from 300 to 900 (#465)
Browse files Browse the repository at this point in the history
  • Loading branch information
abetomo authored and DeviaVir committed Oct 12, 2018
1 parent 713cf6c commit 32a7c6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ event_sources.json and ${program.eventFile} files as needed.`)

_runHandler (handler, event, program, context) {
const startTime = new Date()
const timeout = Math.min(program.timeout, 300) * 1000 // convert the timeout into milliseconds
const timeout = Math.min(program.timeout, 900) * 1000 // convert the timeout into milliseconds

const callback = (err, result) => {
if (err) {
Expand Down

0 comments on commit 32a7c6d

Please sign in to comment.