From 9cc19806439cc8a83023d3816063a2636fa18334 Mon Sep 17 00:00:00 2001 From: NotASkid2020 <75049305+NotASkid2020@users.noreply.github.com> Date: Sat, 22 May 2021 08:40:00 -0400 Subject: [PATCH] Optimizations on the timeout integer Instead of 30*1000 just put the number (30000) --- HttpHelper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HttpHelper.cs b/HttpHelper.cs index c4ebc06..b121c06 100644 --- a/HttpHelper.cs +++ b/HttpHelper.cs @@ -36,7 +36,7 @@ public class HttpHelper //接受类型 private String _accept = "text/html, application/xhtml+xml, application/xml, */*"; //超时时间 - private int _timeout = 30*1000; + private int _timeout = 30000; //类型 private string _contenttype = "application/x-www-form-urlencoded"; //cookies