-
-
Notifications
You must be signed in to change notification settings - Fork 3
Use aws lambda v2 #354
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use aws lambda v2 #354
Conversation
struct SharedContext { | ||
let awsClient: AWSClient | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These SharedContext
s don't get initialized multiple times across multiple lambda invocations. That's the reason.
.package( | ||
url: "https://github.com/swift-server/swift-aws-lambda-runtime.git", | ||
/// Last commit on main as of this code change; V2 | ||
revision: "c7df9bcd8af279c70f991f5d53e48d73d3e6821a" | ||
), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
update to v2
@@ -319,7 +318,7 @@ | |||
{ | |||
"identity" : "swift-openapi-async-http-client", | |||
"kind" : "remoteSourceControl", | |||
"location" : "https://github.com/swift-server/swift-openapi-async-http-client.git", | |||
"location" : "https://github.com/swift-server/swift-openapi-async-http-client", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why the change?! we use .git
in Package.swift
.
8cb5e3c
to
5c200b5
Compare
5c200b5
to
7dd3567
Compare
resolves #270