Project

General

Profile

Revision d91c1723

IDd91c17232d4ecbb8072c6b86b6c19a8f6b1fc2b0
Parent 1e0fedbd
Child 0a065607, 44ad5ba2

Added by Patrick Plitzner almost 2 years ago

Increase gfbio term search timeout

View differences:

eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/view/webimport/termimport/requests/AbstractTerminologyServiceRequest.java
44 44
            URL url = uri.toURL();
45 45
            HttpURLConnection conn = (HttpURLConnection) url.openConnection();
46 46
            conn.setRequestProperty("Accept", "application/json");
47
            conn.setConnectTimeout(TIMEOUT);
48
            conn.setReadTimeout(TIMEOUT*2);
47
            conn.setConnectTimeout(TIMEOUT*6);
48
            conn.setReadTimeout(TIMEOUT*6);
49 49

  
50 50
            if (conn.getResponseCode() != 200) {
51 51
                throw new RuntimeException("Failed : HTTP error code : " + conn.getResponseCode());

Also available in: Unified diff

Add picture from clipboard (Maximum size: 40 MB)