Skip to content

Commit b13bf5c

Browse files
committed
remove comment on max payload size
1 parent 852391e commit b13bf5c

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

Sources/AWSLambdaRuntime/LambdaRuntimeClient.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -356,8 +356,6 @@ final actor LambdaRuntimeClient: LambdaRuntimeClientProtocol {
356356
try channel.pipeline.syncOperations.addHTTPClientHandlers()
357357
// Lambda quotas... An invocation payload is maximal 6MB in size:
358358
// https://docs.aws.amazon.com/lambda/latest/dg/gettingstarted-limits.html
359-
// TODO: should we enforce this here ? What about streaming functions that
360-
// support up to 20Mb responses ?
361359
try channel.pipeline.syncOperations.addHandler(
362360
NIOHTTPClientResponseAggregator(maxContentLength: 6 * 1024 * 1024)
363361
)

0 commit comments

Comments
 (0)