aboutsummaryrefslogtreecommitdiff
path: root/misctools
diff options
context:
space:
mode:
Diffstat (limited to 'misctools')
-rw-r--r--misctools/http_bench.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/misctools/http_bench.zig b/misctools/http_bench.zig
index 5e12f0157..efb1069fe 100644
--- a/misctools/http_bench.zig
+++ b/misctools/http_bench.zig
@@ -198,7 +198,7 @@ pub fn main() anyerror!void {
try channel.buffer.ensureTotalCapacity(args.count);
try NetworkThread.init();
- if (args.concurrency > 0) HTTP.AsyncHTTP.max_simultaneous_requests = args.concurrency;
+ if (args.concurrency > 0) HTTP.AsyncHTTP.max_simultaneous_requests.store(args.concurrency, .Monotonic);
const Group = struct {
response_body: MutableString = undefined,
context: HTTP.HTTPChannelContext = undefined,