Fix: use pp2client.sh
authorDennis Schafroth <dennis@indexdata.com>
Thu, 24 Feb 2011 10:08:14 +0000 (11:08 +0100)
committerDennis Schafroth <dennis@indexdata.com>
Thu, 24 Feb 2011 10:08:14 +0000 (11:08 +0100)
perf/bash/par.sh

index 881e171..54399d0 100755 (executable)
@@ -6,6 +6,7 @@ ROUNDS=5
 PORT=9004
 SERVICE=perf_t
 SHUTDOWN=1
+HOST=127.0.0.1
 if test -n "$1"; then
        . $1
 fi
@@ -14,7 +15,7 @@ while test $r -lt $ROUNDS; do
        echo "$r"
        let i=0
        while test $i -lt $NUMBER; do
-               ./client.sh --outfile=$r.$i --prefix=http://localhost:${PORT}/search.pz2 --service=$SERVICE >$r.$i.log 2>&1 &
+               ./pp2client.sh --outfile=$r.$i --prefix=http://$HOST:${PORT}/search.pz2 --service=$SERVICE >$r.$i.log 2>&1 &
                sleep $DELAY
                let i=$i+1
        done