Commit 3d8e98d1 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

Merge branch '1324-connection-to-dapi-timeout' into 'devel_15.0.x'

timeout increased for dapi connections

See merge request !1216
parents e1263c7c 5e180c57
Pipeline #29219 failed with stage
in 60 minutes and 1 second
......@@ -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();
......
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