Commit 3eb37397 by zhiwei

提交无用字符,目的是重启程序

parent 6d2e7627
......@@ -241,6 +241,8 @@ public class ESUtil {
Calendar endTime = Calendar.getInstance();
endTime.setTime(end);
Client esClient=null;
for(int i=0;i<3;i++) {
try {
esClient = getClient(pt, ser);
// 搜索数据
......@@ -258,8 +260,9 @@ public class ESUtil {
}
return 0;
} catch (Exception e) {
e.fillInStackTrace();
log.error("es检索出错,错误信息【{}】", e.fillInStackTrace());
continue;
}
}
return 0;
}
......@@ -281,6 +284,7 @@ public class ESUtil {
endTime.setTime(end);
endTime.add(Calendar.HOUR, -8);
Client esClient=null;
for(int i=0;i<3;i++) {
try {
esClient = getClient(pt, ser);
// 搜索数据
......@@ -297,7 +301,10 @@ public class ESUtil {
return 0;
} catch (Exception e) {
log.error("es检索出错,错误信息【{}】", e.fillInStackTrace());
continue;
}
}
return 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment