Skip to content

Commit 16953a0

Browse files
committed
Add missing documentation for timeout option
1 parent e582183 commit 16953a0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ lambda.invoke('some-lambda', { some: 'event' }, callback);
2929
variable.
3030
- `timeout`: The default Lambda timeout to use in milliseconds. Defaults
3131
to 5 seconds.
32+
- `memory`: The default Lambda memory to use in MB. Defaults to 128 MB. This
33+
will set `--max-old-space-size` on Lambda processes.
3234
- `max_idle`: The idle timeout to use in milliseconds. If a function is
3335
not invoked for this time, the process gets destroyed. Defaults to 1 hour.
3436
- `lambda.invoke(lambda_name, event[, options][, callback])`: Invokes the named
@@ -57,8 +59,7 @@ Lambda function are invoked with `(event, context[, callback])` where the
5759
- `invokedFunctionArn`: The function ARN, build from the `AWS_REGION`
5860
(defaulting to `us-east-1`), `STUDIO_AWS_ACCOUNT` (defaulting to
5961
`000000000000`) and the Lambda function name.
60-
- `memoryLimitInMB`: The configured memory limit. This is currently not
61-
enforced.
62+
- `memoryLimitInMB`: The configured memory limit.
6263
- `awsRequestId`: The AWS request ID, either from `options` or generated.
6364
- `getRemainingTimeInMillis()`: Returns the remaining time until the Lambda
6465
function times out.

0 commit comments

Comments
 (0)