From 3afc7a7ff5cf30b2f6449f49ab31989156aa17fc Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Sun, 9 Nov 2014 15:30:00 +0000 Subject: [PATCH] * more strict AniDB flood limits (2 requests per 5 second window) --- source/net/filebot/web/AnidbClient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/net/filebot/web/AnidbClient.java b/source/net/filebot/web/AnidbClient.java index 2a976384..013eec08 100644 --- a/source/net/filebot/web/AnidbClient.java +++ b/source/net/filebot/web/AnidbClient.java @@ -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";