mirror of
https://github.com/lightpanda-io/browser.git
synced 2026-09-17 17:22:43 -04:00
zig fmt
This commit is contained in:
1 file changed
+1
-2
@@ -670,8 +670,7 @@ pub const Handles = struct {
|
||||
try libcurl.curl_multi_setopt(multi, .max_host_connections, config.httpMaxHostOpen());
|
||||
// Default is 4x the attached easy handles, i.e. ~0 between page loads,
|
||||
// so keepalive connections were evicted on every cross-site navigation.
|
||||
try libcurl.curl_multi_setopt(multi, .max_connects, 4 * @as(u32, config.httpMaxConcurrent()));
|
||||
|
||||
try libcurl.curl_multi_setopt(multi, .max_connects, 4 * @as(u32, config.httpMaxConcurrent()));
|
||||
|
||||
return .{ .multi = multi };
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user