* more strict AniDB flood limits (2 requests per 5 second window)
This commit is contained in:
parent
2cbb8e15ad
commit
3afc7a7ff5
|
@ -35,7 +35,7 @@ import org.w3c.dom.Node;
|
||||||
|
|
||||||
public class AnidbClient extends AbstractEpisodeListProvider {
|
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";
|
private final String host = "anidb.net";
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue