Commit 5e180c57 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

timeout increased for dapi connections

parent e1263c7c
Pipeline #29217 passed with stage
in 34 minutes and 29 seconds
......@@ -21,6 +21,8 @@ minerva (15.0.2) stable; urgency=medium
types are not supported by CellDedigner and are now transformed during
export into something readable by CellDesigner (#1281)
* Bug fix: at random time points there was an issue with cached data (#1323)
* Bug fix: connection to DAPI timeouted sometimes which resulted in error
when checking for all chemicals for specfific protein (#1324)
-- Piotr Gawron <piotr.gawron@uni.lu> Mon, 29 Jun 2020 11:00:00 +0200
......
......@@ -145,9 +145,9 @@ public class WebPageDownloader {
try {
int timeout = HTTP_CONNECTION_TIMEOUT_SEC;
// dapi is slow for now - double timout
// dapi is slow for now
if (accessUrl.indexOf("dapi.lcsb.uni.lu") >= 0) {
timeout *= 3;
timeout *= 10;
}
String result = future.get(timeout, TimeUnit.SECONDS);
executor.shutdownNow();
......
Supports Markdown
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