* more strict AniDB flood limits (2 requests per 5 second window)

This commit is contained in:
Reinhard Pointner 2014-11-09 15:30:00 +00:00
parent 2cbb8e15ad
commit 3afc7a7ff5
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ import org.w3c.dom.Node;
public class AnidbClient extends AbstractEpisodeListProvider {
private static final FloodLimit REQUEST_LIMIT = new FloodLimit(5, 10, TimeUnit.SECONDS); // no more than 5 requests within a 10 second window
private static final FloodLimit REQUEST_LIMIT = new FloodLimit(2, 5, TimeUnit.SECONDS); // no more than 2 requests within a 5 second window
private final String host = "anidb.net";