git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-analysis/DataMiner@173523 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
9013721e12
commit
3d509ae807
|
@ -151,6 +151,7 @@ public class DataspaceManager implements Runnable {
|
||||||
for (int i=0;i<tries;i++){
|
for (int i=0;i<tries;i++){
|
||||||
try {
|
try {
|
||||||
URL urlc = new URL(data.payload);
|
URL urlc = new URL(data.payload);
|
||||||
|
url = urlc.toString();
|
||||||
HttpURLConnection urlConnection = (HttpURLConnection) urlc.openConnection();
|
HttpURLConnection urlConnection = (HttpURLConnection) urlc.openConnection();
|
||||||
urlConnection.setConnectTimeout(10000);
|
urlConnection.setConnectTimeout(10000);
|
||||||
urlConnection.setReadTimeout(10000);
|
urlConnection.setReadTimeout(10000);
|
||||||
|
|
Loading…
Reference in New Issue