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

Increased the delay between getMessages from 0.1 to 0.4 seconds in a hope to prevent FLOOD_WAIT exceptions.

This commit is contained in:
Fabian Schlenz 2016-09-16 06:41:06 +02:00
parent 4d7e46caa1
commit fa864f37b7

View File

@ -37,7 +37,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 int DELAY_AFTER_GET_MESSAGES = 100; public static int DELAY_AFTER_GET_MESSAGES = 400;
public static int DELAY_AFTER_GET_FILE = 100; public static int DELAY_AFTER_GET_FILE = 100;
public static int RENAMING_MAX_TRIES = 5; public static int RENAMING_MAX_TRIES = 5;