From 2946dae8c65bcd315ae0b1e270e8184033fbdc70 Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Sun, 12 Feb 2017 21:45:01 +0800 Subject: [PATCH] Throttle OMDb usage to 1 request per 1 second --- source/net/filebot/web/OMDbClient.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/net/filebot/web/OMDbClient.java b/source/net/filebot/web/OMDbClient.java index 3bf236bb..209ce052 100644 --- a/source/net/filebot/web/OMDbClient.java +++ b/source/net/filebot/web/OMDbClient.java @@ -34,7 +34,7 @@ import net.filebot.ResourceManager; public class OMDbClient implements MovieIdentificationService { - private static final FloodLimit REQUEST_LIMIT = new FloodLimit(20, 10, TimeUnit.SECONDS); + private static final FloodLimit REQUEST_LIMIT = new FloodLimit(1, 1, TimeUnit.SECONDS); @Override public String getIdentifier() {