Skip to content

Commit

Permalink
Temporarily don't use HTTPClient.shared in GitHubAPI (#188)
Browse files Browse the repository at this point in the history
  • Loading branch information
MahdiBM committed Apr 15, 2024
1 parent 37099cd commit bf86a01
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Lambdas/GitHubAPI/+Client.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@ extension Client {
)
let transport = AsyncHTTPClientTransport(
configuration: .init(
client: HTTPClient.shared,
client: HTTPClient(
configuration: .init(
decompression: .enabled(limit: .ratio(20))
)
),
timeout: timeout
)
)
Expand Down

0 comments on commit bf86a01

Please sign in to comment.