Revision 61904
Added by Andreas Czerniak over 2 years ago
modules/dnet-modular-collector-service/trunk/src/main/java/eu/dnetlib/data/collector/plugins/HttpConnector.java | ||
---|---|---|
298 | 298 |
} |
299 | 299 |
|
300 | 300 |
private void backoffAndSleep(int sleepTimeMs) { |
301 |
log.info("I'm going to sleep for {}ms", sleepTimeMs); |
|
301 |
// log.info("I'm going to sleep for {}ms", sleepTimeMs);
|
|
302 | 302 |
try { |
303 | 303 |
Thread.sleep(sleepTimeMs); |
304 | 304 |
} catch (InterruptedException e) { |
Also available in: Unified diff
added IETF draft rate-limit respection