1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-12-24 16:58:51 -05:00

* 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

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";