diff options
Diffstat (limited to 'bigcouch_compact_all_shards.sh')
-rwxr-xr-x | bigcouch_compact_all_shards.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bigcouch_compact_all_shards.sh b/bigcouch_compact_all_shards.sh index 8fffee1..82aa3c2 100755 --- a/bigcouch_compact_all_shards.sh +++ b/bigcouch_compact_all_shards.sh @@ -19,7 +19,7 @@ do shard=`echo $i | sed "s/^.*shards\///" | cut -d'/' -f 1` db=`basename $i .couch` echo -n "compacting ${i}:" - curl -X POST --netrc-file $NETRC -H "Content-Type: application/json" "http://127.0.0.1:5986/shards%2F${shard}%2F${db}/_compact" + curl -s -X POST --netrc-file $NETRC -H "Content-Type: application/json" "http://127.0.0.1:5986/shards%2F${shard}%2F${db}/_compact" sleep 1 done |