You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// // * Important : The pool_max_idle_per_host should never be greater than 0 due to the "runtime dropped the dispatch task" error that can happen when running awaiting task into multiple streams.
216
+
// // * Even in terms of performance it will only be a 5% to 10% increase but the drawback is too big and this is too unstable.
217
+
// let mut client_builder = ClientBuilder::new()
218
+
// .use_rustls_tls()
219
+
// .gzip(true)
220
+
// .brotli(true)
221
+
// .user_agent("Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36")
222
+
// .pool_max_idle_per_host(0);
223
+
224
+
// // Conditionally set the custom DNS resolver only if sys_conf is disabled
// * Important : The pool_max_idle_per_host should never be greater than 0 due to the "runtime dropped the dispatch task" error that can happen when running awaiting task into multiple streams.
216
240
// * Even in terms of performance it will only be a 5% to 10% increase but the drawback is too big and this is too unstable.
217
-
letmut client_builder = ClientBuilder::new()
218
-
.use_rustls_tls()
219
-
.gzip(true)
220
-
.brotli(true)
221
-
.user_agent("Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36")
222
-
.pool_max_idle_per_host(0);
223
-
224
-
// Conditionally set the custom DNS resolver only if sys_conf is disabled
0 commit comments