don't try adn connect to couch until we manage to check if there is a last_seq
This commit is contained in:
parent
1f3adc213f
commit
48bd9a2076
|
@ -251,6 +251,7 @@ public class CouchdbRiver extends AbstractRiverComponent implements River {
|
||||||
logger.warn("failed to get last_seq, throttling....", e);
|
logger.warn("failed to get last_seq, throttling....", e);
|
||||||
try {
|
try {
|
||||||
Thread.sleep(5000);
|
Thread.sleep(5000);
|
||||||
|
continue;
|
||||||
} catch (InterruptedException e1) {
|
} catch (InterruptedException e1) {
|
||||||
if (closed) {
|
if (closed) {
|
||||||
return;
|
return;
|
||||||
|
|
Loading…
Reference in New Issue