Commit 46d5698f authored by Matija Obreza's avatar Matija Obreza
Browse files

Increased download limit, removed XLSX limit

parent b7d4b323
......@@ -60,7 +60,6 @@ import org.springframework.transaction.annotation.Transactional;
@Service
public class DownloadServiceImpl implements DownloadService {
private static final int XLSX_ROWS_LIMIT = 65536;
public static final Log LOG = LogFactory.getLog(DownloadServiceImpl.class);
......@@ -150,11 +149,6 @@ public class DownloadServiceImpl implements DownloadService {
List<AllStuff> alls = genesysService.loadAllStuff(batch);
for (AllStuff all : alls) {
if (i > XLSX_ROWS_LIMIT) {
LOG.info("Row limit exceeded");
return;
}
Row row = sheet.createRow(i + 1);
writeMCPDRow(sheet, row, all.accession, all.geo, all.collect, all.bred, all.names, all.exch, all.remarks);
i++;
......
......@@ -73,7 +73,7 @@ import com.jhlabs.image.MapColorsFilter;
@Controller
public class ExplorerController extends BaseController {
private static final int DOWNLOAD_LIMIT = 100000;
private static final int DOWNLOAD_LIMIT = 200000;
@Autowired
private GenesysFilterService filterService;
......
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