Skip to content

Commit b9a87c2

Browse files
committed
don't use a shared URLSession
1 parent be95b65 commit b9a87c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/AWSLambdaSwift/Runtime.swift

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public class Runtime {
2121
var handlers: [String: Handler]
2222

2323
public init() throws {
24-
self.urlSession = URLSession.shared
24+
self.urlSession = URLSession(configuration: .default)
2525
self.handlers = [:]
2626

2727
let environment = ProcessInfo.processInfo.environment

0 commit comments

Comments
 (0)