reduce imagecache data timeout
This commit is contained in:
parent
920b625f8e
commit
77243ef497
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user