Throttle OMDb usage to 1 request per 1 second

This commit is contained in:
Reinhard Pointner 2017-02-12 21:45:01 +08:00
parent 50762a87c7
commit 2946dae8c6
1 changed files with 1 additions and 1 deletions

View File

@ -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() {