Commit c1976548 by 陶光胜

报表中心

parent 6f34b11f
......@@ -81,7 +81,7 @@ public class DownloadReportApiServiceImpl implements DownloadReportApiService {
while (iterator.hasNext()){
Object next = iterator.next();
long putTime = (long) map.get(next);
if((System.currentTimeMillis() - putTime) > 1*60*1000){
if((System.currentTimeMillis() - putTime) > 10*60*1000){
log.info("报告超时:{}", next);
//超过十分钟 如果报告还在生成中则设置为失败
TabDownloadReport report = downloadReportService.getById((Integer) next);
......
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