Skip to content

Commit

Permalink
Bump up default connection_limit (#81)
Browse files Browse the repository at this point in the history
* Bump up default connection_limit

As we did in https://github.com/RelationalAI/raicode/commit/29ce2059fdf61eebb44e6fa888c8e247f5689233

* mention CHANGELOG
  • Loading branch information
quinnj authored Oct 6, 2022
1 parent a725151 commit 355d466
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# Changelog

## v0.2.1
* Increased `connection_limit` to 4096

## v0.2.0
* Deprecate metadata JSON format.
* Add support to deserialize ProtoBuf metadata.
Expand Down
2 changes: 1 addition & 1 deletion src/rest.jl
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,6 @@ function request(
isnothing(body) && (body = UInt8[])
headers = _ensure_headers!(headers)
_authenticate!(ctx, headers)
opts = (;redirect = false)
opts = (;redirect = false, connection_limit = 4096)
return HTTP.request(method, url, headers; query = query, body = body, opts..., kw...)
end

0 comments on commit 355d466

Please sign in to comment.