Throttle OMDb usage to 1 request per 1 second
This commit is contained in:
parent
50762a87c7
commit
2946dae8c6
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue