don't try adn connect to couch until we manage to check if there is a last_seq

This commit is contained in:
kimchy 2010-09-27 15:21:26 +02:00
parent 1f3adc213f
commit 48bd9a2076
1 changed files with 1 additions and 0 deletions

View File

@ -251,6 +251,7 @@ public class CouchdbRiver extends AbstractRiverComponent implements River {
logger.warn("failed to get last_seq, throttling....", e);
try {
Thread.sleep(5000);
continue;
} catch (InterruptedException e1) {
if (closed) {
return;