ソースを参照

download connection count to 8

hanjing 6 年 前
コミット
8ba5242d9f
共有1 個のファイルを変更した1 個の追加1 個の削除を含む
  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();