From 0d251e8d1a5ba99f1186daa20ca88f90d1bf6c29 Mon Sep 17 00:00:00 2001
From: liuxiaolong <liuxiaolong@aiotlink.com>
Date: 星期四, 28 五月 2020 18:46:20 +0800
Subject: [PATCH] add log

---
 EsClient.go |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/EsClient.go b/EsClient.go
index bbdb4bb..39754cf 100644
--- a/EsClient.go
+++ b/EsClient.go
@@ -611,7 +611,7 @@
 
 func EsReq(method string, url string, parama []byte) (buf []byte, err error) {
 	//defer elapsed("page")()
-	timeout := time.Duration(10 * time.Second)
+	timeout := time.Duration(100 * time.Second)
 	client := http.Client{
 		Timeout: timeout,
 	}

--
Gitblit v1.8.0