diff options
author | 2021-12-29 02:33:39 -0800 | |
---|---|---|
committer | 2021-12-29 02:33:39 -0800 | |
commit | 0b640c785fd5e365453794e08739b9503017ebc3 (patch) | |
tree | 3b7c96491cafa8ecc7e5fe089cc98d3fed5ea7ad /src | |
parent | fe17d51b03cf3fcbbf50621afbb47d56eaeaa5c6 (diff) | |
download | bun-0b640c785fd5e365453794e08739b9503017ebc3.tar.gz bun-0b640c785fd5e365453794e08739b9503017ebc3.tar.zst bun-0b640c785fd5e365453794e08739b9503017ebc3.zip |
Update http_client_async.zig
Diffstat (limited to 'src')
-rw-r--r-- | src/http_client_async.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/http_client_async.zig b/src/http_client_async.zig index 9415f7767..bcf8d9600 100644 --- a/src/http_client_async.zig +++ b/src/http_client_async.zig @@ -254,6 +254,7 @@ pub const AsyncHTTP = struct { pub const CompletionCallback = fn (this: *AsyncHTTP, sender: *HTTPSender) void; pub var active_requests_count = std.atomic.Atomic(u32).init(0); + pub var max_simultaneous_requests: u16 = 32; pub const State = enum(u32) { pending = 0, |