Skip to content

Commit 32a7c6d

Browse files
abetomoDeviaVir
authored andcommitted
Update maximum timeout value from 300 to 900 (#465)
reference: https://forums.aws.amazon.com/ann.jspa?annID=6198
1 parent 713cf6c commit 32a7c6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ event_sources.json and ${program.eventFile} files as needed.`)
8686

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

9191
const callback = (err, result) => {
9292
if (err) {

0 commit comments

Comments
 (0)