From 0bf5ed47fcd4c2662065a04551f443c99870e1f6 Mon Sep 17 00:00:00 2001 From: Fabian Schlenz Date: Sat, 9 Jul 2016 12:21:08 +0200 Subject: [PATCH] Reduced the file download chunk size from 10 to 1 MByte. --- src/main/java/de/fabianonline/telegram_backup/Config.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/de/fabianonline/telegram_backup/Config.java b/src/main/java/de/fabianonline/telegram_backup/Config.java index 8f8d6f1..4b526d2 100644 --- a/src/main/java/de/fabianonline/telegram_backup/Config.java +++ b/src/main/java/de/fabianonline/telegram_backup/Config.java @@ -34,7 +34,7 @@ public class Config { public static final String FILE_FILES_BASE = "files"; 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_FILE = 1000;