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 99b25c7272
2 changed files with 2 additions and 1 deletions

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;

View File

@ -30,6 +30,7 @@ count.messages.media_type.contact:{{count.messages.media_type.contact}}
function drawChart() { function drawChart() {
drawChartChatTypes(); drawChartChatTypes();
drawChartMessageTypes(); drawChartMessageTypes();
drawChartMediaTypes();
} }
function drawChartChatTypes() { function drawChartChatTypes() {