1
0
mirror of https://github.com/mitb-archive/filebot synced 2024-08-13 17:03:45 -04:00

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

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