1
0
mirror of https://github.com/fabianonline/telegram_backup.git synced 2024-11-23 01:06:17 +00:00

Reduced the file download chunk size from 10 to 1 MByte.

This commit is contained in:
Fabian Schlenz 2016-07-09 12:21:08 +02:00
parent 41f8fc80c5
commit 0bf5ed47fc

View File

@ -34,7 +34,7 @@ public class Config {
public static final String FILE_FILES_BASE = "files"; public static final String FILE_FILES_BASE = "files";
public static final String FILE_STICKER_BASE = "stickers"; public static final String FILE_STICKER_BASE = "stickers";
public static final int FILE_DOWNLOAD_BLOCK_SIZE = 10*1024*1024; public static final int FILE_DOWNLOAD_BLOCK_SIZE = 1*1024*1024;
public static int DELAY_AFTER_GET_MESSAGES = 200; public static int DELAY_AFTER_GET_MESSAGES = 200;
public static int DELAY_AFTER_GET_FILE = 1000; public static int DELAY_AFTER_GET_FILE = 1000;