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

View File

@ -37,7 +37,7 @@ public class Config {
public static final String FILE_FILES_BASE = "files";
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 RENAMING_MAX_TRIES = 5;