Skip to content

Commit

Permalink
326 add a retry for getting a cluster (#328)
Browse files Browse the repository at this point in the history
found a missing break, need a new merge.
  • Loading branch information
randytpierce authored Feb 14, 2024
2 parents e5e7488 + dd62c61 commit 5f14bfa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/vxingest/builder_common/ingest_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ def connect_cb(self):
self.cluster = Cluster(
"couchbase://" + self.cb_credentials["host"], options
)
break
except CouchbaseException as _e:
time.sleep(5)
_attempts = _attempts + 1
Expand Down

0 comments on commit 5f14bfa

Please sign in to comment.