Selaa lähdekoodia

download connection count to 8

hanjing 6 vuotta sitten
vanhempi
commit
8ba5242d9f
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      app/src/main/java/com/sheep/gamegroup/util/DownloadUtil.java

+ 1 - 1
app/src/main/java/com/sheep/gamegroup/util/DownloadUtil.java

@@ -399,7 +399,7 @@ public class DownloadUtil {
         // set the flush buffer to 32768 bytes for the buffered output-stream.(default is 16384)
         builder.setFlushBufferSize(32768);
         // set this task allow using 5 connections to download data.
-        builder.setConnectionCount(32);
+        builder.setConnectionCount(8);
         // build the task.
 //        DownloadTask task = builder.build();
         return builder.build();