|
|
@@ -25,6 +25,8 @@ import com.usoftchina.bi.server.model.vo.dataVo.DataSourceCopyInfo;
|
|
|
import com.usoftchina.bi.server.service.chart.ChartsUtilService;
|
|
|
import com.usoftchina.bi.core.utils.GetTokenDataUtil;
|
|
|
import com.usoftchina.bi.server.service.dataSource.DataConnectorService;
|
|
|
+import org.slf4j.Logger;
|
|
|
+import org.slf4j.LoggerFactory;
|
|
|
import org.springframework.beans.BeanUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
@@ -49,6 +51,8 @@ public class DashboardsService {
|
|
|
@Autowired
|
|
|
private ChartsConfigMapper chartsConfigMapper;
|
|
|
|
|
|
+ private static final Logger LOGGER = LoggerFactory.getLogger(DashboardsService.class);
|
|
|
+
|
|
|
/*
|
|
|
保存看板
|
|
|
*/
|
|
|
@@ -199,6 +203,7 @@ public class DashboardsService {
|
|
|
String[] params = message.split("&");
|
|
|
if (params.length == 2) {
|
|
|
if (System.currentTimeMillis() - Long.valueOf(params[1]) > 30000) {
|
|
|
+ LOGGER.error("now={}, params[1]={}, diff={}", System.currentTimeMillis(), params[1], System.currentTimeMillis()-Long.valueOf(params[1]));
|
|
|
throw new MyException("请求超时");
|
|
|
}
|
|
|
return params[0];
|