Browse Source

Espera até servidor Solr estar pronto

pull/2439/head
Edward 6 years ago
committed by GitHub
parent
commit
2f23f2c848
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      start.sh

2
start.sh

@ -70,6 +70,8 @@ if [ "${USE_SOLR-False}" == "True" ]; then
echo "MAX SHARDS PER NODE: $MAX_SHARDS_PER_NODE" echo "MAX SHARDS PER NODE: $MAX_SHARDS_PER_NODE"
echo "=========================================" echo "========================================="
/bin/bash check_solr.sh
python3 solr_api.py -u $SOLR_URL -c $SOLR_COLLECTION -s $NUM_SHARDS -rf $RF -ms $MAX_SHARDS_PER_NODE & python3 solr_api.py -u $SOLR_URL -c $SOLR_COLLECTION -s $NUM_SHARDS -rf $RF -ms $MAX_SHARDS_PER_NODE &
# python3 manage.py rebuild_index --noinput & # python3 manage.py rebuild_index --noinput &
else else

Loading…
Cancel
Save