We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 411cd27 commit d8b2bbbCopy full SHA for d8b2bbb
set-up-process.sh
@@ -14,6 +14,8 @@ if [ $TASK_SLOT -eq 1 ]; then
14
missing=`curl -X GET http://$COUCHDB_USER:$COUCHDB_PASSWORD@couchdb1:5984/_users | grep 'not_found'`
15
16
if [ "$missing" ]; then
17
+ # Sleep so that when we create the databases, they will be distributed over all our nodes
18
+ sleep 60
19
curl -X PUT http://$COUCHDB_USER:$COUCHDB_PASSWORD@couchdb1:5984/_users
20
curl -X PUT http://$COUCHDB_USER:$COUCHDB_PASSWORD@couchdb1:5984/_replicator
21
curl -X PUT http://$COUCHDB_USER:$COUCHDB_PASSWORD@couchdb1:5984/_global_changes
0 commit comments