Throttle OMDb usage to 2 requests per 1 second

This commit is contained in:
Reinhard Pointner 2017-02-13 06:42:24 +08:00
parent 74ead4e36c
commit c5e126a642
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(1, 1, TimeUnit.SECONDS);
private static final FloodLimit REQUEST_LIMIT = new FloodLimit(2, 1, TimeUnit.SECONDS);
@Override
public String getIdentifier() {