Sfoglia il codice sorgente

download connection count to 8

hanjing 6 anni fa
parent
commit
8ba5242d9f

+ 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();