mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 10:25:15 +00:00
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);
|
||||
try {
|
||||
Thread.sleep(5000);
|
||||
continue;
|
||||
} catch (InterruptedException e1) {
|
||||
if (closed) {
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user