reduce imagecache data timeout

This commit is contained in:
Andrew Dolgov 2013-07-30 00:02:52 +04:00
parent 920b625f8e
commit 77243ef497

View File

@ -119,7 +119,7 @@ public class ImageCacheService extends IntentService {
URL url = new URL(urlString);
URLConnection urlConnection = url.openConnection();
urlConnection.setConnectTimeout(250);
urlConnection.setReadTimeout(15*1000);
urlConnection.setReadTimeout(5*1000);
return urlConnection.getInputStream();
} catch (Exception ex) {
return null;