diff options
author | varac <varacanero@zeromail.org> | 2014-03-13 21:26:36 +0100 |
---|---|---|
committer | varac <varacanero@zeromail.org> | 2014-03-13 21:26:36 +0100 |
commit | a98988509db855d151d180f864191682caddf400 (patch) | |
tree | 4d1a2701a52f7b66b0cadcf31b3b73134deb1355 | |
parent | c60783297be509945b15392d7984d6b7b015a3ba (diff) |
run curl in silent mode
-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 |