Skip to content
This repository has been archived by the owner on Apr 27, 2020. It is now read-only.

Commit

Permalink
Increased the delay between getMessages from 0.1 to 0.4 seconds in a …
Browse files Browse the repository at this point in the history
…hope to prevent FLOOD_WAIT exceptions.
  • Loading branch information
fabianonline committed Sep 16, 2016
1 parent 4d7e46c commit fa864f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/de/fabianonline/telegram_backup/Config.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit fa864f3

Please sign in to comment.